Let Qt keep track of top-level windows.

This commit is contained in:
Jim Evins
2016-05-15 16:33:02 -04:00
parent 1819a02d50
commit f920965668
3 changed files with 5 additions and 23 deletions
-4
View File
@@ -70,8 +70,6 @@ public:
void setModel( LabelModel* label );
bool isEmpty() const;
static QList<MainWindow *> windowList();
/////////////////////////////////////
// Events
@@ -186,8 +184,6 @@ private:
// Private Data
/////////////////////////////////////
private:
static QList<MainWindow*> smWindowList;
QMenu* fileMenu;
QMenu* editMenu;
QMenu* viewMenu;