Fix QDialog test: Q_WS_X11 is no more.

Change-Id: Ia4182b22f4a4999a80d7792378e1b9dfa03e7f9c
Reviewed-by: Kristoffer Flottorp <kristoffer.flottorp@nokia.com>
This commit is contained in:
Frederik Gladhorn 2011-10-24 13:09:50 +02:00 committed by Qt by Nokia
parent 3ff8e94925
commit 0fd8514a57

View File

@ -75,7 +75,7 @@ private slots:
void showMaximized();
void showMinimized();
void showFullScreen();
#if !defined(Q_WS_X11) && !defined(Q_OS_WINCE)
#if !defined(Q_OS_UNIX) && !defined(Q_OS_WINCE)
void showAsTool();
#endif
#ifndef Q_OS_WINCE
@ -374,7 +374,7 @@ void tst_QDialog::showFullScreen()
// Qt/X11: Skipped since activeWindow() is not respected by all window managers.
// Qt/WinCE: No real support for Qt::Tool on WinCE.
#if !defined(Q_WS_X11) && !defined(Q_OS_WINCE)
#if !defined(Q_OS_UNIX) && !defined(Q_OS_WINCE)
void tst_QDialog::showAsTool()
{
ToolDialog dialog(testWidget);