Disable tst_QPixmap::onlyNullPixmapsOutsideGuiThread on Mac

No need to check it anymore after the switch to raster engine.

Reviewed-by: Eskil
(cherry picked from commit e004701bd7ba9e4a7cd5ac1bf784829feae16cae)
This commit is contained in:
Jiang Jiang 2011-04-18 11:21:16 +02:00
parent e99aa8b20c
commit 028aa80d70

View File

@ -1337,7 +1337,7 @@ void tst_QPixmap::toSymbianCFbsBitmap()
void tst_QPixmap::onlyNullPixmapsOutsideGuiThread() void tst_QPixmap::onlyNullPixmapsOutsideGuiThread()
{ {
#if !defined(Q_WS_WIN) #if !defined(Q_WS_WIN) && !defined(Q_WS_MAC)
class Thread : public QThread class Thread : public QThread
{ {
public: public:
@ -1370,7 +1370,7 @@ void tst_QPixmap::onlyNullPixmapsOutsideGuiThread()
thread.wait(); thread.wait();
#endif #endif
#endif // !defined(Q_WS_WIN) #endif // !defined(Q_WS_WIN) && !defined(Q_WS_MAC)
} }
void tst_QPixmap::refUnref() void tst_QPixmap::refUnref()