Fix crash on close in sidebar/bookmarks view

Explicitly close all views of the sidebar _before_ the core is
destructed. E.g. the bookmarks view tries to access the core in
it's destructor.
This commit is contained in:
Kai Koehne
2010-08-11 14:59:04 +02:00
parent 3ccc079cd3
commit 8110c88781
3 changed files with 15 additions and 3 deletions

View File

@@ -92,6 +92,8 @@ public:
void saveSettings(QSettings *settings);
void restoreSettings(QSettings *settings);
void closeSubWidgets();
bool isShown() const;
void setShown(bool b);