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>
This commit is contained in:
parent
ae6d4c77eb
commit
81b275b1dc
@ -129,14 +129,14 @@ namespace QTest
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if QT_DEPRECATED_SINCE(6, 0)
|
#if QT_DEPRECATED_SINCE(5, 0)
|
||||||
# ifdef QT_WIDGETS_LIB
|
# ifdef QT_WIDGETS_LIB
|
||||||
QT_DEPRECATED inline static bool qWaitForWindowShown(QWidget *widget, int timeout = 1000)
|
QT_DEPRECATED inline static bool qWaitForWindowShown(QWidget *widget, int timeout = 1000)
|
||||||
{
|
{
|
||||||
return qWaitForWindowExposed(widget, timeout);
|
return qWaitForWindowExposed(widget, timeout);
|
||||||
}
|
}
|
||||||
# endif // QT_WIDGETS_LIB
|
# endif // QT_WIDGETS_LIB
|
||||||
#endif // QT_DEPRECATED_SINCE(6, 0)
|
#endif // QT_DEPRECATED_SINCE(5, 0)
|
||||||
}
|
}
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
Loading…
Reference in New Issue
Block a user