test: Remove dead code from tst_QPixmap

Change-Id: I1945a0f431364f47a43cf7f600ad38fdba5f4a08
Reviewed-by: Caroline Chao <caroline.chao@digia.com>
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
This commit is contained in:
Sergio Ahumada 2012-10-26 12:51:03 +02:00 committed by The Qt Project
parent d998469740
commit 67a0f546c5

View File

@ -439,12 +439,7 @@ void tst_QPixmap::fill_data()
QTest::newRow(QString("syscolor_%1").arg(color).toLatin1())
<< uint(color) << true << false;
#ifdef Q_WS_QWS
if (QScreen::instance()->depth() >= 24) {
#elif defined (Q_WS_X11)
QPixmap pm(1, 1);
if (pm.x11PictureHandle()) {
#elif defined (Q_OS_WINCE)
#if defined (Q_OS_WINCE)
QPixmap pixmap(1,1);
if (QApplication::desktop()->grab().depth() >= 24) {
#else