# HG changeset patch # User insilmaril # Date 1179433144 0 # Node ID cf60b90369a415f691f3607a85af7f78846fa6c9 # Parent c58b3973337cd16bf1aba75fe1033bf7bfd7cd31 minor bugfixes diff -r c58b3973337c -r cf60b90369a4 selection.cpp --- a/selection.cpp Thu May 17 20:19:03 2007 +0000 +++ b/selection.cpp Thu May 17 20:19:04 2007 +0000 @@ -129,7 +129,7 @@ return selectList.count(); } -SelectionType Selection::type() // TODO no multiselections yet +Selection::Type Selection::type() // TODO no multiselections yet { if (!selectList.isEmpty()) { diff -r c58b3973337c -r cf60b90369a4 selection.h --- a/selection.h Thu May 17 20:19:03 2007 +0000 +++ b/selection.h Thu May 17 20:19:04 2007 +0000 @@ -14,11 +14,11 @@ -enum SelectionType {Undefined,Branch,MapCenter,FloatImage}; class Selection { public: + enum Type {Undefined,Branch,MapCenter,FloatImage}; Selection (); ~Selection(); void copy(const Selection&); @@ -33,7 +33,7 @@ void unselect (); bool isEmpty(); uint count(); - SelectionType type(); + Type type(); LinkableMapObj * first(); // first in selection list LinkableMapObj * single(); // NULL, if multiple selected BranchObj* getBranch();