From f9ae26acf20dc90f578b191fe906ab680b4fc97b Mon Sep 17 00:00:00 2001 From: Rohan McGovern Date: Tue, 21 Jun 2011 09:36:13 +0200 Subject: Fixed compile of autotests for Mac & QPA MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Several autotests were assuming that Q_OS_MAC == Mac cocoa port, which caused compile failures when QPA is used. Change-Id: I4480ed815c15b6d9ce83edf0057b7293f2e3ad7e Reviewed-on: http://codereview.qt.nokia.com/533 Reviewed-by: Qt Sanity Bot Reviewed-by: Morten Johan Sørvig --- tests/auto/qmacstyle/tst_qmacstyle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/auto/qmacstyle/tst_qmacstyle.cpp') diff --git a/tests/auto/qmacstyle/tst_qmacstyle.cpp b/tests/auto/qmacstyle/tst_qmacstyle.cpp index f9fc81ed58..6e03afd575 100644 --- a/tests/auto/qmacstyle/tst_qmacstyle.cpp +++ b/tests/auto/qmacstyle/tst_qmacstyle.cpp @@ -45,7 +45,7 @@ #include -#ifdef Q_OS_MAC +#ifdef Q_WS_MAC const int N = 1; -- cgit v1.2.3