summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 0b6bb738..54c5ab77 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -137,7 +137,7 @@ MainWindow::MainWindow()
m_bookmarksProvider->provideBmToolbar(bmToolbar);
// setup Tab Bar
- setupTabBar();
+// setupTabBar();
// setting up toolbars to NOT have context menu enabled
setContextMenuPolicy(Qt::DefaultContextMenu);
@@ -285,22 +285,22 @@ void MainWindow::setupActions()
}
-void MainWindow::setupTabBar()
-{
- // Left corner button
- QToolButton *addTabButton = new QToolButton(this);
- addTabButton->setDefaultAction(actionCollection()->action("new_tab"));
- addTabButton->setAutoRaise(true);
- addTabButton->setToolButtonStyle(Qt::ToolButtonIconOnly);
- m_view->setCornerWidget(addTabButton, Qt::TopLeftCorner);
-
- // right corner button
- QToolButton *closeTabButton = new QToolButton(this);
- closeTabButton->setDefaultAction(actionCollection()->action("close_tab"));
- closeTabButton->setAutoRaise(true);
- closeTabButton->setToolButtonStyle(Qt::ToolButtonIconOnly);
- m_view->setCornerWidget(closeTabButton, Qt::TopRightCorner);
-}
+// void MainWindow::setupTabBar()
+// {
+// // Left corner button
+// QToolButton *addTabButton = new QToolButton(this);
+// addTabButton->setDefaultAction(actionCollection()->action("new_tab"));
+// addTabButton->setAutoRaise(true);
+// addTabButton->setToolButtonStyle(Qt::ToolButtonIconOnly);
+// m_view->setCornerWidget(addTabButton, Qt::TopLeftCorner);
+//
+// // right corner button
+// QToolButton *closeTabButton = new QToolButton(this);
+// closeTabButton->setDefaultAction(actionCollection()->action("close_tab"));
+// closeTabButton->setAutoRaise(true);
+// closeTabButton->setToolButtonStyle(Qt::ToolButtonIconOnly);
+// m_view->setCornerWidget(closeTabButton, Qt::TopRightCorner);
+// }
void MainWindow::setupHistoryMenu()