summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Haumann <dhaumann@kde.org>2014-01-25 17:24:52 (GMT)
committerDominik Haumann <dhaumann@kde.org>2014-01-25 17:24:52 (GMT)
commitbc992a9527c0c2d6c9b978849ec1d0d75fdfe2af (patch)
tree3da4299521b03815cd080fe0c615cdd4fa44dbc7
parent06168866c65fa65267dd00a8cd8321230371968c (diff)
swap quick open and window splitting button
-rw-r--r--kate/src/kateviewspace.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kate/src/kateviewspace.cpp b/kate/src/kateviewspace.cpp
index 230bb13..126107c 100644
--- a/kate/src/kateviewspace.cpp
+++ b/kate/src/kateviewspace.cpp
@@ -65,6 +65,13 @@ KateViewSpace::KateViewSpace(KateViewManager *viewManager,
connect(m_tabBar, &KateTabBar::newTabRequested, this, &KateViewSpace::createNewDocument);
hLayout->addWidget(m_tabBar);
+ // add quick open
+ m_quickOpen = new QToolButton(this);
+ m_quickOpen->setAutoRaise(true);
+ m_quickOpen->setDefaultAction(m_viewManager->mainWindow()->actionCollection()->action(QStringLiteral("view_quick_open")));
+ m_quickOpen->installEventFilter(this); // on click, active this view space
+ hLayout->addWidget(m_quickOpen);
+
// add vertical split view space
m_split = new QToolButton(this);
m_split->setAutoRaise(true);
@@ -79,13 +86,6 @@ KateViewSpace::KateViewSpace(KateViewManager *viewManager,
m_split->installEventFilter(this); // on click, active this view space
hLayout->addWidget(m_split);
- // add quick open
- m_quickOpen = new QToolButton(this);
- m_quickOpen->setAutoRaise(true);
- m_quickOpen->setDefaultAction(m_viewManager->mainWindow()->actionCollection()->action(QStringLiteral("view_quick_open")));
- m_quickOpen->installEventFilter(this); // on click, active this view space
- hLayout->addWidget(m_quickOpen);
-
// FIXME: better additional size
// m_tabBar->setMinimumHeight(int (QFontMetrics(font()).height() * 1.2));