summaryrefslogtreecommitdiffstats
path: root/tools/assistant/compat/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/assistant/compat/mainwindow.cpp')
-rw-r--r--tools/assistant/compat/mainwindow.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/assistant/compat/mainwindow.cpp b/tools/assistant/compat/mainwindow.cpp
index 9d308dfa0..13b555e5a 100644
--- a/tools/assistant/compat/mainwindow.cpp
+++ b/tools/assistant/compat/mainwindow.cpp
@@ -34,7 +34,7 @@
** met: http://www.gnu.org/copyleft/gpl.html.
**
** If you are unsure which license is appropriate for your use, please
-** contact the sales department at http://www.qtsoftware.com/contact.
+** contact the sales department at http://qt.nokia.com/contact.
** $QT_END_LICENSE$
**
****************************************************************************/
@@ -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()
{