diff options
author | Jarek Kobus <jaroslaw.kobus@qt.io> | 2018-05-11 15:48:26 +0200 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@qt.io> | 2018-05-14 09:10:20 +0000 |
commit | 66e78113f179f878b134fb1a8a26ac6e789755ab (patch) | |
tree | 621073715d785c6080f0398308a003c6033d5ab2 /src/assistant/assistant/helpviewer_p.h | |
parent | acfd5a0be6ec26664a4e90e42edefcf5740f997d (diff) |
Assistant: Fix clang warnings
Change-Id: I8315c97fcd20ea9be90f4258628b88c809dc7fdb
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/assistant/assistant/helpviewer_p.h')
-rw-r--r-- | src/assistant/assistant/helpviewer_p.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/assistant/assistant/helpviewer_p.h b/src/assistant/assistant/helpviewer_p.h index cd36e8592..8a85fdcea 100644 --- a/src/assistant/assistant/helpviewer_p.h +++ b/src/assistant/assistant/helpviewer_p.h @@ -51,9 +51,6 @@ public: #if defined(BROWSER_QTEXTBROWSER) HelpViewerPrivate(int zoom) : zoomCount(zoom) - , forceFont(false) - , lastAnchor(QString()) - , m_loadFinished(false) { } #elif defined(BROWSER_QTWEBKIT) HelpViewerPrivate() @@ -98,9 +95,9 @@ public slots: } public: - int zoomCount; - bool forceFont; QString lastAnchor; + int zoomCount; + bool forceFont = false; private: @@ -120,7 +117,7 @@ private: #endif // BROWSER_QTWEBKIT public: - bool m_loadFinished; + bool m_loadFinished = false; }; |