Commit 35be3a9f authored by kh1's avatar kh1
Browse files

QWebView has no copy slot. Fixes the side bar copy connection.

parent 35e36f75
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment