summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-09-26 21:48:10 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-09-26 21:48:10 +0200
commit08684c5c63b046d5e2a79d7a535cf4ad9542aaa7 (patch)
tree1230a1c56dcca606d295df5dcfe613fda1fd2fc6
parentrekonq 0.2.60 (diff)
downloadrekonq-08684c5c63b046d5e2a79d7a535cf4ad9542aaa7.tar.xz
cleaning mainview code (unuseful method)
Patch courtesy from Ronny Scholz (thanks!)
-rw-r--r--src/mainview.cpp12
-rw-r--r--src/mainview.h1
2 files changed, 0 insertions, 13 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp
index 5baf99ed..f9a5cc5b 100644
--- a/src/mainview.cpp
+++ b/src/mainview.cpp
@@ -581,18 +581,6 @@ QLabel *MainView::animatedLoading(int index, bool addMovie)
return label;
}
-
-void MainView::mouseDoubleClickEvent(QMouseEvent *event) //WARNING Need to be fix
-{
- if (!childAt(event->pos()))
- {
- newTab();
- return;
- }
- KTabWidget::mouseDoubleClickEvent(event);
-}
-
-
void MainView::resizeEvent(QResizeEvent *event)
{
KTabWidget::resizeEvent(event);
diff --git a/src/mainview.h b/src/mainview.h
index 5410b70e..0d4145f3 100644
--- a/src/mainview.h
+++ b/src/mainview.h
@@ -144,7 +144,6 @@ private slots:
protected:
- virtual void mouseDoubleClickEvent(QMouseEvent *event);
virtual void resizeEvent(QResizeEvent *event);
private: