[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kdevplatform/5.0] plugins/contextbrowser: Raise prev/next history context buttons
From:       Kevin Funk <null () kde ! org>
Date:       2017-01-08 11:24:48
Message-ID: E1cQBai-00005B-84 () code ! kde ! org
[Download RAW message or body]

Git commit 60c4cf0d4315830f4526cddca96acd48ddc3e02c by Kevin Funk.
Committed on 08/01/2017 at 11:21.
Pushed by kfunk into branch '5.0'.

Raise prev/next history context buttons

(cherry picked from commit e3ff6a6f8e5018961ca1f878bf07c279d1fb735c)

M  +2    -0    plugins/contextbrowser/contextbrowser.cpp

https://commits.kde.org/kdevplatform/60c4cf0d4315830f4526cddca96acd48ddc3e02c

diff --git a/plugins/contextbrowser/contextbrowser.cpp b/plugins/contextbrowser/contextbrowser.cpp
index 5c208a43d..2606ff27d 100644
--- a/plugins/contextbrowser/contextbrowser.cpp
+++ b/plugins/contextbrowser/contextbrowser.cpp
@@ -167,6 +167,7 @@ KXMLGUIClient* ContextBrowserPlugin::createGUIForMainWindow( Sublime::MainWindow
 
     m_previousButton = new QToolButton();
     m_previousButton->setToolTip(i18n("Go back in context history"));
+    m_previousButton->setAutoRaise(true);
     m_previousButton->setPopupMode(QToolButton::MenuButtonPopup);
     m_previousButton->setIcon(QIcon::fromTheme(QStringLiteral("go-previous")));
     m_previousButton->setEnabled(false);
@@ -178,6 +179,7 @@ KXMLGUIClient* ContextBrowserPlugin::createGUIForMainWindow( Sublime::MainWindow
 
     m_nextButton = new QToolButton();
     m_nextButton->setToolTip(i18n("Go forward in context history"));
+    m_nextButton->setAutoRaise(true);
     m_nextButton->setPopupMode(QToolButton::MenuButtonPopup);
     m_nextButton->setIcon(QIcon::fromTheme(QStringLiteral("go-next")));
     m_nextButton->setEnabled(false);
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic