summaryrefslogtreecommitdiffstats
path: root/examples/draganddrop/puzzle
diff options
context:
space:
mode:
Diffstat (limited to 'examples/draganddrop/puzzle')
-rw-r--r--examples/draganddrop/puzzle/main.cpp4
-rw-r--r--examples/draganddrop/puzzle/mainwindow.cpp4
-rw-r--r--examples/draganddrop/puzzle/puzzle.pro8
3 files changed, 0 insertions, 16 deletions
diff --git a/examples/draganddrop/puzzle/main.cpp b/examples/draganddrop/puzzle/main.cpp
index b432ddc40e..60341948ab 100644
--- a/examples/draganddrop/puzzle/main.cpp
+++ b/examples/draganddrop/puzzle/main.cpp
@@ -49,10 +49,6 @@ int main(int argc, char *argv[])
QApplication app(argc, argv);
MainWindow window;
window.openImage(":/images/example.jpg");
-#ifdef Q_OS_SYMBIAN
- window.showMaximized();
-#else
window.show();
-#endif
return app.exec();
}
diff --git a/examples/draganddrop/puzzle/mainwindow.cpp b/examples/draganddrop/puzzle/mainwindow.cpp
index c00892a098..800213e442 100644
--- a/examples/draganddrop/puzzle/mainwindow.cpp
+++ b/examples/draganddrop/puzzle/mainwindow.cpp
@@ -138,11 +138,7 @@ void MainWindow::setupWidgets()
{
QFrame *frame = new QFrame;
QHBoxLayout *frameLayout = new QHBoxLayout(frame);
-#if defined(Q_OS_SYMBIAN) || defined(Q_WS_SIMULATOR)
- puzzleWidget = new PuzzleWidget(260);
-#else
puzzleWidget = new PuzzleWidget(400);
-#endif
piecesList = new PiecesList(puzzleWidget->pieceSize(), this);
diff --git a/examples/draganddrop/puzzle/puzzle.pro b/examples/draganddrop/puzzle/puzzle.pro
index d084827a45..7c69a41a39 100644
--- a/examples/draganddrop/puzzle/puzzle.pro
+++ b/examples/draganddrop/puzzle/puzzle.pro
@@ -15,17 +15,9 @@ sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro *.jpg
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/draganddrop/puzzle
INSTALLS += target sources
-symbian:{
- TARGET.UID3 = 0xA000CF65
- CONFIG += qt_example
- addFile.files = example.jpg
- addFile.path = .
- DEPLOYMENT += addFile
-}
wince*: {
addFile.files = example.jpg
addFile.path = .
DEPLOYMENT += addFile
}
QT += widgets
-maemo5: CONFIG += qt_example