summaryrefslogtreecommitdiff
path: root/src/webview.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/webview.h')
-rw-r--r--src/webview.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/webview.h b/src/webview.h
index 71e3047f..bac12e99 100644
--- a/src/webview.h
+++ b/src/webview.h
@@ -48,7 +48,8 @@ public:
~WebView();
WebPage *page();
- QPoint mousePos();
+
+ inline QPoint mousePos() { return _mousePos; }
protected:
void contextMenuEvent(QContextMenuEvent *event);