diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-11 14:27:25 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-11 14:27:25 -0600 |
commit | a35fdc9c4df20c017653edfaa77465dfe85d38d6 (patch) | |
tree | c3874507e8181ab00eee9e1ff2121799bc411e39 /kcontrol/iccconfig | |
parent | e88baf8334b8ff7ce92e555cbaffee949672d4b8 (diff) | |
download | tdebase-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.cpp | 2 |
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++; |