simplify WatchWindow expansion handling a bit

This commit is contained in:
hjk
2008-12-08 11:00:46 +01:00
parent 44cc9a2b40
commit 045e6dd1b4
4 changed files with 13 additions and 52 deletions

View File

@@ -135,7 +135,7 @@ public:
bool changed;
};
enum { INameRole = Qt::UserRole, VisualRole };
enum { INameRole = Qt::UserRole, VisualRole, ExpandedRole };
class WatchHandler : public QAbstractItemModel