[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kdelibs/frameworks] staging/kde4support/autotests: Make it work even when Qt is built without glib
From:       Kevin Ottens <ervin () kde ! org>
Date:       2013-01-04 8:04:55
Message-ID: 20130104080455.A7CBFA60C4 () git ! kde ! org
[Download RAW message or body]

Git commit c36bc7c162ebd2344c3bf6e78373a1964330430e by Kevin Ottens.
Committed on 03/01/2013 at 15:24.
Pushed by ervin into branch 'frameworks'.

Make it work even when Qt is built without glib

M  +2    -2    staging/kde4support/autotests/kglobaltest.cpp

http://commits.kde.org/kdelibs/c36bc7c162ebd2344c3bf6e78373a1964330430e

diff --git a/staging/kde4support/autotests/kglobaltest.cpp b/staging/kde4su=
pport/autotests/kglobaltest.cpp
index ec0bbe8..cda9672 100644
--- a/staging/kde4support/autotests/kglobaltest.cpp
+++ b/staging/kde4support/autotests/kglobaltest.cpp
@@ -54,8 +54,8 @@ private Q_SLOTS:
     // (e.g. due to a breakpoint in gdb).
     void testWaitForSignal()
     {
-        QTimer::singleShot(0, this, SLOT(emitSigFoo()));
-        QVERIFY(QTest::kWaitForSignal(this, SIGNAL(sigFoo()), 1));
+        QTimer::singleShot(5, this, SLOT(emitSigFoo()));
+        QVERIFY(QTest::kWaitForSignal(this, SIGNAL(sigFoo()), 20));
     }
 =

     void testWaitForSignalTimeout()

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic