Approach to handle the restoreGeometry/State crash

* use CLogSubscriber to "catch" the issue (log handler "catching" the ASSERT)
* restart message box
This commit is contained in:
Klaus Basan
2019-04-30 00:22:59 +02:00
parent ce534d2536
commit 9a3ef1e82e
2 changed files with 43 additions and 2 deletions

View File

@@ -227,6 +227,9 @@ namespace BlackGui
//! Save widget's geometry and state
bool saveWindowGeometryAndState(const QMainWindow *window = CGuiApplication::mainApplicationWindow()) const;
//! Reset the saved values
void resetWindowGeometryAndState();
//! Restore widget's geometry and state
bool restoreWindowGeometryAndState(QMainWindow *window = CGuiApplication::mainApplicationWindow());