projects
/
framework
/
web
/
webkit-efl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tizen beta release
[framework/web/webkit-efl.git]
/
Source
/
WebKit
/
qt
/
tests
/
util.h
diff --git
a/Source/WebKit/qt/tests/util.h
b/Source/WebKit/qt/tests/util.h
index
c61bc6b
..
94628ca
100755
(executable)
--- a/
Source/WebKit/qt/tests/util.h
+++ b/
Source/WebKit/qt/tests/util.h
@@
-49,6
+49,7
@@
static bool waitForSignal(QObject* obj, const char* signal, int timeout = 10000)
return timeoutSpy.isEmpty();
}
+#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
// Will try to wait for the condition while allowing event processing
#define QTRY_VERIFY(__expr) \
do { \
@@
-76,3
+77,4
@@
static bool waitForSignal(QObject* obj, const char* signal, int timeout = 10000)
} \
QCOMPARE(__expr, __expected); \
} while(0)
+#endif