summaryrefslogtreecommitdiff
path: root/src/webview.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-05-21 12:05:48 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-05-21 12:05:48 +0200
commit78325dc56078f7991068eb7b2dbe0e25ab7dc924 (patch)
tree8c0e3f35567770cc5e5767811d5121e21b7209bf /src/webview.h
parentSVN_SILENT made messages (.desktop file) (diff)
downloadrekonq-78325dc56078f7991068eb7b2dbe0e25ab7dc924.tar.xz
inlined some of the most used get functions
to speed up a bit
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);