summaryrefslogtreecommitdiff
path: root/src/mainview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r--src/mainview.cpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp
index e4958919..8f96637d 100644
--- a/src/mainview.cpp
+++ b/src/mainview.cpp
@@ -221,29 +221,6 @@ void MainView::clear()
}
-void MainView::mouseDoubleClickEvent(QMouseEvent *event)
-{
- if (!childAt(event->pos())
- // Remove the line below when QTabWidget does not have a one pixel frame
- && event->pos().y() < (tabBar()->y() + tabBar()->height()))
- {
- newWebView(true);
- return;
- }
- KTabWidget::mouseDoubleClickEvent(event);
-}
-
-
-void MainView::contextMenuEvent(QContextMenuEvent *event)
-{
- if (!childAt(event->pos()))
- {
- m_tabBar->contextMenuRequested(event->pos());
- return;
- }
- KTabWidget::contextMenuEvent(event);
-}
-
// When index is -1 index chooses the current tab
void MainView::slotReloadTab(int index)
{