summaryrefslogtreecommitdiffstats
path: root/tools/assistant/compat
diff options
context:
space:
mode:
authorThomas Hartmann <Thomas.Hartmann@nokia.com>2009-08-13 13:54:51 (GMT)
committerThomas Hartmann <Thomas.Hartmann@nokia.com>2009-08-13 13:54:51 (GMT)
commitb4db217bf195bda7ade32bda79be65b5d31e1c0e (patch)
treeef8e7a349486e852b77fc6ade704876e564fad1b /tools/assistant/compat
parenta55a7e06727610683a61461adfd144046d669b46 (diff)
downloadQt-b4db217bf195bda7ade32bda79be65b5d31e1c0e.zip
Qt-b4db217bf195bda7ade32bda79be65b5d31e1c0e.tar.gz
Qt-b4db217bf195bda7ade32bda79be65b5d31e1c0e.tar.bz2
Assistant compiles on Windows CE
no official support Task-number: 214990 Reviewed-by: kh
Diffstat (limited to 'tools/assistant/compat')
-rw-r--r--tools/assistant/compat/mainwindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/assistant/compat/mainwindow.cpp b/tools/assistant/compat/mainwindow.cpp
index 353efdb..13b555e 100644
--- a/tools/assistant/compat/mainwindow.cpp
+++ b/tools/assistant/compat/mainwindow.cpp
@@ -401,6 +401,7 @@ QString MainWindow::urlifyFileName(const QString &fileName)
return name;
}
+#ifndef QT_NO_PRINTER
class PrintThread : public QThread
{
QPrinter _printer;
@@ -436,6 +437,7 @@ protected:
_document = 0;
}
};
+#endif //QT_NO_PRINTER
void MainWindow::on_actionFilePrint_triggered()
{