Commit 4ab94a8d authored by David Faure's avatar David Faure
Browse files

Backport r1050729: Save/restore the expanded/collapsed state of bookmark folders.

Fixed for: 4.3.5
CCBUG: 131127

svn path=/branches/KDE/4.3/kdebase/apps/; revision=1078194
parent 2dc37711
......@@ -199,6 +199,7 @@ extern "C" KDE_EXPORT int kdemain(int argc, char **argv) {
if (askUser((gotFilenameArg ? filename : QString()), readonly)) {
KEBApp *toplevel = new KEBApp(filename, readonly, address, browser, caption, dbusObjectName);
toplevel->setAttribute(Qt::WA_DeleteOnClose);
toplevel->show();
return app.exec();
}
......
......@@ -572,6 +572,10 @@ void KEBApp::updateStatus(const QString &url)
}
KEBApp::~KEBApp() {
// Save again, just in case the user expanded/collapsed folders (#131127)
CurrentMgr::self()->notifyManagers();
s_topLevel = 0;
delete m_cmdHistory;
delete ActionsImpl::self();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment