summaryrefslogtreecommitdiffstats
path: root/src/assistant/assistant/helpviewer_p.h
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@qt.io>2018-05-11 15:48:26 +0200
committerJarek Kobus <jaroslaw.kobus@qt.io>2018-05-14 09:10:20 +0000
commit66e78113f179f878b134fb1a8a26ac6e789755ab (patch)
tree621073715d785c6080f0398308a003c6033d5ab2 /src/assistant/assistant/helpviewer_p.h
parentacfd5a0be6ec26664a4e90e42edefcf5740f997d (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.h9
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;
};