Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorDavide Beatrici <davidebeatrici@gmail.com>2019-10-10 04:14:38 +0300
committerDavide Beatrici <davidebeatrici@gmail.com>2019-10-10 04:14:38 +0300
commit1ac534915c54a2a60e181ea8c900643e854dcdbf (patch)
treec8bda07f2ef125182e5b6a9f54b557a29c6f178c /src/tests
parenta50e572e2d5386c35e24d93e14f013531cee79b4 (diff)
Remove remaining Qt 4 stuff
For reference: https://wiki.qt.io/Transition_from_Qt_4.x_to_Qt5
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/TestServerResolver/TestServerResolver.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/tests/TestServerResolver/TestServerResolver.cpp b/src/tests/TestServerResolver/TestServerResolver.cpp
index e8c984509..ddafcdb11 100644
--- a/src/tests/TestServerResolver/TestServerResolver.cpp
+++ b/src/tests/TestServerResolver/TestServerResolver.cpp
@@ -13,13 +13,7 @@
void signalSpyWait(QSignalSpy &spy) {
// We increase the timeout from 5s to 8s because travis builds could fail otherwise (slow network response).
const int signalTimeoutS = 8;
-#if QT_VERSION >= 0x050000
spy.wait(signalTimeoutS * 1000);
-#else
- // Equivalent to QSignalSpy::wait() in Qt 5, except we do not return early on a spied on signal result.
- QTestEventLoop loop;
- loop.enterLoop(signalTimeoutS);
-#endif
}
class TestServerResolver : public QObject {