mirror of
https://github.com/KDE/konsole.git
synced 2026-05-04 12:44:23 -04:00
Fix a couple of crashes. Sync configuration information in SessionManager's destructor and fix problem with scroll optimisation. Not sure about that first one, it shouldn't do any harm, but I don't think it should be necessary either.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=670398
This commit is contained in:
@@ -166,6 +166,9 @@ SessionManager::~SessionManager()
|
||||
|
||||
while (infoIter.hasNext())
|
||||
delete infoIter.next();
|
||||
|
||||
#warning "This prevents a crash to do with accessing a global static globalData() after destruction, but it is probably not the correct solution."
|
||||
KGlobal::config()->sync();
|
||||
}
|
||||
|
||||
const QList<Session*> SessionManager::sessions()
|
||||
|
||||
Reference in New Issue
Block a user