[PATCH] Trivial. Remove unused ProfileWidget2::EDIT from State enum.

K. "pestophagous" Heller pestophagous at gmail.com
Sun Oct 25 18:15:55 PDT 2015


Signed-off-by: K. Heller <pestophagous at gmail.com>
---

The states ADD and PLAN both indicate that editing is ongoing.
In the ADD or PLAN states the widget responds to clicks and so forth.
'EDIT' state was unused and therefore meaningless.

 qt-ui/profile/profilewidget2.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/qt-ui/profile/profilewidget2.h b/qt-ui/profile/profilewidget2.h
index 2d1a7bf..267587e 100644
--- a/qt-ui/profile/profilewidget2.h
+++ b/qt-ui/profile/profilewidget2.h
@@ -55,7 +55,6 @@ public:
 	enum State {
 		EMPTY,
 		PROFILE,
-		EDIT,
 		ADD,
 		PLAN,
 		INVALID
-- 
2.5.0



More information about the subsurface mailing list