Commit b0ef6185 authored by Robert Knight's avatar Robert Knight
Browse files

Fix test which was producing erroneous warning about sessions still being alive on exit.

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=794023
parent eedc4eb8
......@@ -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
......
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