Fixed emission perspectiveListChanged signal after loading of perspective list and added perspectiveListLoaded signal

This commit is contained in:
Uwe Kindler
2021-04-13 07:05:17 +02:00
parent 6179832a2b
commit ffa0105d3e
4 changed files with 12 additions and 3 deletions
+2
View File
@@ -912,6 +912,8 @@ void CDockManager::loadPerspectives(QSettings& Settings)
}
Settings.endArray();
Q_EMIT perspectiveListChanged();
Q_EMIT perspectiveListLoaded();
}
+8 -1
View File
@@ -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
*/