summaryrefslogtreecommitdiff
path: root/src/mainview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r--src/mainview.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp
index bb016872..d6b86452 100644
--- a/src/mainview.cpp
+++ b/src/mainview.cpp
@@ -694,3 +694,13 @@ QLabel *MainView::animatedLoading(int index, bool addMovie)
return label;
}
+
+void MainView::mouseDoubleClickEvent(QMouseEvent *event)
+{
+ if (!childAt(event->pos()))
+ {
+ newWebView(true);
+ return;
+ }
+ KTabWidget::mouseDoubleClickEvent(event);
+} \ No newline at end of file