summaryrefslogtreecommitdiffstats
path: root/kcontrol/iccconfig
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-11 14:27:25 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-11 14:27:25 -0600
commita35fdc9c4df20c017653edfaa77465dfe85d38d6 (patch)
treec3874507e8181ab00eee9e1ff2121799bc411e39 /kcontrol/iccconfig
parente88baf8334b8ff7ce92e555cbaffee949672d4b8 (diff)
downloadtdebase-a35fdc9c4df20c017653edfaa77465dfe85d38d6.tar.gz
tdebase-a35fdc9c4df20c017653edfaa77465dfe85d38d6.zip
Add profile support to displayconfig and krandrtray
Add automatic display hotplug profile switch support to krandrtray
Diffstat (limited to 'kcontrol/iccconfig')
-rw-r--r--kcontrol/iccconfig/iccconfig.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/kcontrol/iccconfig/iccconfig.cpp b/kcontrol/iccconfig/iccconfig.cpp
index 28296dd5e..a4c3999d2 100644
--- a/kcontrol/iccconfig/iccconfig.cpp
+++ b/kcontrol/iccconfig/iccconfig.cpp
@@ -178,6 +178,7 @@ void KICCConfig::renameProfile () {
}
}
}
+ if (!_ok) return;
// Rename the profile
if (config) config->deleteGroup(base->iccProfileList->currentText());
@@ -212,6 +213,7 @@ void KICCConfig::addProfile () {
}
}
}
+ if (!_ok) return;
// Expand the profile memory
numberOfProfiles++;