Fixed emission perspectiveListChanged signal after loading of perspective list and added perspectiveListLoaded signal
This commit is contained in:
@@ -912,6 +912,8 @@ void CDockManager::loadPerspectives(QSettings& Settings)
|
||||
}
|
||||
|
||||
Settings.endArray();
|
||||
Q_EMIT perspectiveListChanged();
|
||||
Q_EMIT perspectiveListLoaded();
|
||||
}
|
||||
|
||||
|
||||
|
||||
+8
-1
@@ -521,10 +521,17 @@ public Q_SLOTS:
|
||||
|
||||
Q_SIGNALS:
|
||||
/**
|
||||
* This signal is emitted if the list of perspectives changed
|
||||
* This signal is emitted if the list of perspectives changed.
|
||||
* The list of perspectives changes if perspectives are added, removed
|
||||
* or if the perspective list has been loaded
|
||||
*/
|
||||
void perspectiveListChanged();
|
||||
|
||||
/**
|
||||
* This signal is emitted if the perspective list has been loaded
|
||||
*/
|
||||
void perspectiveListLoaded();
|
||||
|
||||
/**
|
||||
* This signal is emitted if perspectives have been removed
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user