[SCM] ktp-kded-integration-module packaging branch, master, updated. debian/15.12.1-2-382-gbd961c2
Maximiliano Curia
maxy at moszumanska.debian.org
Sat May 28 00:14:40 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-kded-module.git;a=commitdiff;h=90f1cc9
The following commit has been merged in the master branch:
commit 90f1cc98362da9ef7f0d95adaf17454b95254c86
Author: Dan Vrátil <dvratil at redhat.com>
Date: Sat Dec 1 18:34:23 2012 +0100
Fix compilation warnings
Reviewed-by: Martin Klapetek
---
config/telepathy-kded-config.cpp | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/config/telepathy-kded-config.cpp b/config/telepathy-kded-config.cpp
index 47ff70d..1ad11a1 100644
--- a/config/telepathy-kded-config.cpp
+++ b/config/telepathy-kded-config.cpp
@@ -279,17 +279,12 @@ void TelepathyKDEDConfig::save()
KConfigGroup generalConfigGroup(contactListConfig, "General");
KConfigGroup notifyConfigGroup(contactListConfig, "Notification Messages");
- bool oldGoOffline = generalConfigGroup.readEntry("go_offline_when_closing", false);
-
- switch (ui->m_autoOfflineCheckBox->checkState()) {
- case Qt::Unchecked:
+ if (ui->m_autoOfflineCheckBox->checkState() == Qt::Unchecked) {
notifyConfigGroup.writeEntry("dont_check_for_plasmoid", true);
generalConfigGroup.writeEntry("go_offline_when_closing", false);
- break;
- case Qt::Checked:
+ } else if (ui->m_autoOfflineCheckBox->checkState() == Qt::Checked) {
notifyConfigGroup.writeEntry("dont_check_for_plasmoid", true);
generalConfigGroup.writeEntry("go_offline_when_closing", true);
- break;
}
generalConfigGroup.sync();
@@ -337,5 +332,7 @@ void TelepathyKDEDConfig::settingsHasChanged()
void TelepathyKDEDConfig::autoOfflineChecked(bool checked)
{
+ Q_UNUSED(checked)
+
ui->m_autoOfflineCheckBox->setTristate(false);
}
--
ktp-kded-integration-module packaging
More information about the pkg-kde-commits
mailing list