diff options
author | kh1 <qt-info@nokia.com> | 2010-08-26 13:03:04 (GMT) |
---|---|---|
committer | kh1 <qt-info@nokia.com> | 2010-08-26 13:03:04 (GMT) |
commit | 7dfbd98efd3160f080ad0d285e534f5cdfc23868 (patch) | |
tree | cb63b100dc6f8636e60a7acc860a3e22e745ab15 /tools | |
parent | fd493419a62a60873213aadf7df3e958bf0c8d8e (diff) | |
download | Qt-7dfbd98efd3160f080ad0d285e534f5cdfc23868.zip Qt-7dfbd98efd3160f080ad0d285e534f5cdfc23868.tar.gz Qt-7dfbd98efd3160f080ad0d285e534f5cdfc23868.tar.bz2 |
Fix typo. Remove some leftovers.
Reviewed-by: ck
Diffstat (limited to 'tools')
-rw-r--r-- | tools/assistant/tools/assistant/helpenginewrapper.cpp | 2 | ||||
-rw-r--r-- | tools/assistant/tools/assistant/searchwidget.cpp | 13 | ||||
-rw-r--r-- | tools/assistant/tools/assistant/searchwidget.h | 4 |
3 files changed, 1 insertions, 18 deletions
diff --git a/tools/assistant/tools/assistant/helpenginewrapper.cpp b/tools/assistant/tools/assistant/helpenginewrapper.cpp index fb67551..dc35b2d 100644 --- a/tools/assistant/tools/assistant/helpenginewrapper.cpp +++ b/tools/assistant/tools/assistant/helpenginewrapper.cpp @@ -148,7 +148,7 @@ HelpEngineWrapper::HelpEngineWrapper(const QString &collectionFile) * because we will start to index them, only to be interupted * by the next request. Also, there is a nasty SQLITE bug that will * cause the application to hang for minutes in that case. - * This call is reverted by initalDocSetupDone(), which must be + * This call is reverted by initialDocSetupDone(), which must be * called after the new docs have been installed. */ disconnect(d->m_helpEngine, SIGNAL(setupFinished()), diff --git a/tools/assistant/tools/assistant/searchwidget.cpp b/tools/assistant/tools/assistant/searchwidget.cpp index 9eb2106..bb5bdeb 100644 --- a/tools/assistant/tools/assistant/searchwidget.cpp +++ b/tools/assistant/tools/assistant/searchwidget.cpp @@ -63,7 +63,6 @@ QT_BEGIN_NAMESPACE SearchWidget::SearchWidget(QHelpSearchEngine *engine, QWidget *parent) : QWidget(parent) , zoomCount(0) - , attached(false) , searchEngine(engine) { TRACE_OBJ @@ -130,18 +129,6 @@ void SearchWidget::resetZoom() } } -bool SearchWidget::isAttached() const -{ - TRACE_OBJ - return attached; -} - -void SearchWidget::setAttached(bool state) -{ - TRACE_OBJ - attached = state; -} - void SearchWidget::search() const { TRACE_OBJ diff --git a/tools/assistant/tools/assistant/searchwidget.h b/tools/assistant/tools/assistant/searchwidget.h index 750497b..04d3e28 100644 --- a/tools/assistant/tools/assistant/searchwidget.h +++ b/tools/assistant/tools/assistant/searchwidget.h @@ -65,9 +65,6 @@ public: void zoomOut(); void resetZoom(); - bool isAttached() const; - void setAttached(bool state); - signals: void requestShowLink(const QUrl &url); void requestShowLinkInNewTab(const QUrl &url); @@ -84,7 +81,6 @@ private: private: int zoomCount; - bool attached; QHelpSearchEngine *searchEngine; QHelpSearchResultWidget *resultWidget; }; |