From 35be3a9f6c916ddb087628d66bb4bb4e76a1daa5 Mon Sep 17 00:00:00 2001
From: kh1 <qt-info@nokia.com>
Date: Wed, 24 Mar 2010 13:25:37 +0100
Subject: [PATCH] QWebView has no copy slot. Fixes the side bar copy
 connection.

---
 src/shared/help/helpviewer.h | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/shared/help/helpviewer.h b/src/shared/help/helpviewer.h
index c222a3a3b41..f5847f4f4de 100644
--- a/src/shared/help/helpviewer.h
+++ b/src/shared/help/helpviewer.h
@@ -82,9 +82,6 @@ public:
     int zoom() const;
     void setZoom(int zoom) { zoomIn(zoom); }
 
-    inline void copy()
-    { return triggerPageAction(QWebPage::Copy); }
-
     inline bool isForwardAvailable() const
     { return pageAction(QWebPage::Forward)->isEnabled(); }
     inline bool isBackwardAvailable() const
@@ -95,6 +92,7 @@ public:
 public Q_SLOTS:
     void home();
     void backward() { back(); }
+    void copy() { triggerPageAction(QWebPage::Copy); }
 
 Q_SIGNALS:
     void copyAvailable(bool enabled);
-- 
GitLab