mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-10 05:55:33 +08:00
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:
@@ -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());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user