diff --git a/src/shared/help/helpviewer.cpp b/src/shared/help/helpviewer.cpp
index 71508d9092cf7ad28f1026eda2053ee7f873fa0b..4d6ecc7466202c7b6751682f51fe1fe484a96513 100644
--- a/src/shared/help/helpviewer.cpp
+++ b/src/shared/help/helpviewer.cpp
@@ -378,13 +378,13 @@ void HelpViewer::setLoadFinished(bool ok)
 
 #else  // !defined(QT_NO_WEBKIT)
 
-HelpViewer::HelpViewer(QHelpEngine *engine, Help::Internal::CentralWidget *parent)
+HelpViewer::HelpViewer(QHelpEngine *engine, Help::Internal::CentralWidget *central, QWidget *parent)
     : QTextBrowser(parent)
     , zoomCount(0)
     , controlPressed(false)
     , lastAnchor(QString())
     , helpEngine(engine)
-    , parentWidget(parent)
+    , parentWidget(central)
 {
    document()->setDocumentMargin(8);
 }
diff --git a/src/shared/help/helpviewer.h b/src/shared/help/helpviewer.h
index 2e33543ebb75dc86dc15f9cde351ff16fea3e22e..8b6ea20f2f5b5511f91932069a06601e46e88db0 100644
--- a/src/shared/help/helpviewer.h
+++ b/src/shared/help/helpviewer.h
@@ -130,7 +130,7 @@ class HelpViewer : public QTextBrowser
     Q_OBJECT
 
 public:
-    HelpViewer(QHelpEngine *helpEngine, Help::Internal::CentralWidget *parent);
+    HelpViewer(QHelpEngine *helpEngine, Help::Internal::CentralWidget *central, QWidget *parent);
     void setSource(const QUrl &url);
 
     void zoomIn(int range = 1);