diff options
author | Mitch Curtis <mitch.curtis@digia.com> | 2013-09-10 10:16:43 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-17 14:25:00 +0200 |
commit | 1ebfb744fedf0f9168290da05932079adcc2c536 (patch) | |
tree | 3f4b33c8cb92794d1e43214470ab9632578d15b8 | |
parent | 4d5b5c275835120eba080d47335c10daa12ab69f (diff) | |
download | qttools-old/5.1.tar.gz |
Fix no such signal error on assistant startup with no webkit.old/5.1
QObject::connect: No such signal HelpViewer::printRequested() in
qttools/src/assistant/assistant/centralwidget.cpp:626
Change-Id: If7dee3b8d38f659ca037b9d4ed73e01779f07c67
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
-rw-r--r-- | src/assistant/assistant/centralwidget.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/assistant/assistant/centralwidget.cpp b/src/assistant/assistant/centralwidget.cpp index c3541af0f..19a388bd3 100644 --- a/src/assistant/assistant/centralwidget.cpp +++ b/src/assistant/assistant/centralwidget.cpp @@ -615,6 +615,7 @@ void CentralWidget::initPrinter() void CentralWidget::connectSignals(HelpViewer *page) { TRACE_OBJ +#if !defined(QT_NO_WEBKIT) connect(page, SIGNAL(copyAvailable(bool)), this, SIGNAL(copyAvailable(bool))); connect(page, SIGNAL(forwardAvailable(bool)), this, @@ -625,6 +626,9 @@ void CentralWidget::connectSignals(HelpViewer *page) SLOT(handleSourceChanged(QUrl))); connect(page, SIGNAL(printRequested()), this, SLOT(print())); connect(page, SIGNAL(highlighted(QString)), this, SLOT(slotHighlighted(QString))); +#else + Q_UNUSED(page) +#endif } bool CentralWidget::eventFilter(QObject *object, QEvent *e) |