[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/kdeui/tests
From: David Faure <faure () kde ! org>
Date: 2010-09-01 11:04:40
Message-ID: 20100901110440.35BBAAC871 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1170537 by dfaure:
Fix race in test; only quit once we have received the newInstance call.
M +4 -1 kuniqueapptest.cpp
--- trunk/KDE/kdelibs/kdeui/tests/kuniqueapptest.cpp #1170536:1170537
@@ -69,6 +69,10 @@
kDebug() << "argument " << i << " : " << args->arg(i);
}
+ if (m_callCount == 2) { // OK, all done, quit
+ quit();
+ }
+
return 0;
}
@@ -95,7 +99,6 @@
//sleep(200);
QTimer::singleShot( 400, &a, SLOT(executeNewChild()) );
- QTimer::singleShot( 800, &a, SLOT(quit()) );
printf("Running.\n");
kapp->exec();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic