summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2012-08-22 11:53:26 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-27 23:25:30 +0200
commit81b275b1dc522246d943072fc587fbc3ce47483f (patch)
tree9c45bb6a889f7414fbfb32cfcefd919e27d175aa /src
parentae6d4c77eb338be3f2189bfaffdcd3c38cc57333 (diff)
Deprecate qWaitForWindowShown QWidget* overload since 5.0.
It is already documented as deprecated in 5.0, so marking it as deprecated since 6.0 is silly. Change-Id: If72cc81bdad18c907022c48b9aa8e7d87eb88e59 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'src')
-rw-r--r--src/testlib/qtestsystem.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testlib/qtestsystem.h b/src/testlib/qtestsystem.h
index 9946c4ae5c..43edf113c0 100644
--- a/src/testlib/qtestsystem.h
+++ b/src/testlib/qtestsystem.h
@@ -129,14 +129,14 @@ namespace QTest
}
#endif
-#if QT_DEPRECATED_SINCE(6, 0)
+#if QT_DEPRECATED_SINCE(5, 0)
# ifdef QT_WIDGETS_LIB
QT_DEPRECATED inline static bool qWaitForWindowShown(QWidget *widget, int timeout = 1000)
{
return qWaitForWindowExposed(widget, timeout);
}
# endif // QT_WIDGETS_LIB
-#endif // QT_DEPRECATED_SINCE(6, 0)
+#endif // QT_DEPRECATED_SINCE(5, 0)
}
QT_END_NAMESPACE