[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace/krunner
From: Alex Fiestas <alex () eyeos ! org>
Date: 2010-05-21 21:58:30
Message-ID: 20100521220402.64BCDAC8BC () svn ! kde ! org
[Download RAW message or body]
SVN commit 1129317 by afiestas:
Actually take the taskOriented interface in count an check the button when using it.
M +6 -1 configdialog.cpp
--- trunk/KDE/kdebase/workspace/krunner/configdialog.cpp #1129316:1129317
@@ -69,8 +69,13 @@
connect(displayButtons, SIGNAL(buttonClicked(int)), this, \
SLOT(setInterface(int)));
displayButtons->addButton(m_uiOptions.commandButton, \
KRunnerSettings::EnumInterface::CommandOriented);
displayButtons->addButton(m_uiOptions.taskButton, \
KRunnerSettings::EnumInterface::TaskOriented);
- m_uiOptions.commandButton->setChecked(m_interfaceType == \
KRunnerSettings::EnumInterface::CommandOriented);
+ if (m_interfaceType == KRunnerSettings::EnumInterface::CommandOriented) {
+ m_uiOptions.commandButton->setChecked(true);
+ } else {
+ m_uiOptions.taskButton->setChecked(true);
+ }
+
connect(m_uiOptions.previewButton, SIGNAL(clicked()), this, \
SLOT(previewInterface()));
m_tabWidget->addTab(m_generalSettings, i18n("User Interface"));
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic