Fix compiler warnings when using QT_DEPRECATED

Change-Id: If62cff5d1cbd1c8051d709db8747777606797056
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
bb10
Sergio Ahumada 2011-10-21 10:12:26 +02:00 committed by Qt by Nokia
parent d40f4105cd
commit e375637fe5
1 changed files with 2 additions and 0 deletions

View File

@ -85,7 +85,9 @@ public:
static QWindowList topLevelWindows();
static QWindow *topLevelAt(const QPoint &pos);
#ifdef QT_DEPRECATED
static QT_DEPRECATED QWindow *activeWindow() { return focusWindow(); }
#endif
static QWindow *focusWindow();
static QScreen *primaryScreen();