summaryrefslogtreecommitdiff
path: root/src/mainview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-05-01 01:58:29 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-05-01 01:58:29 +0200
commit070aabd69a693acefb8fbd152c467bace3600a67 (patch)
treeb925c5c23db500e2b3deca37e801681670db640b /src/mainview.cpp
parenti18n plural bugs. Courtesy patch of Kristol Baf (diff)
downloadrekonq-070aabd69a693acefb8fbd152c467bace3600a67.tar.xz
mouseDoubleClickEvent return, as decided with Avaddon
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