mirror of
https://github.com/KDE/konsole.git
synced 2026-05-04 12:44:23 -04:00
Fix test which was producing erroneous warning about sessions still being alive on exit.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=794023
This commit is contained in:
@@ -222,8 +222,7 @@ void SessionManager::closeAll()
|
||||
}
|
||||
SessionManager::~SessionManager()
|
||||
{
|
||||
// TODO This test sometimes fails when using KDevelop. Look into and fix it.
|
||||
if (_sessions.count() == 0)
|
||||
if (_sessions.count() > 0)
|
||||
{
|
||||
kWarning() << "Konsole SessionManager destroyed with sessions still alive";
|
||||
// ensure that the Session doesn't later try to call back and do things to the
|
||||
|
||||
Reference in New Issue
Block a user