summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-08-17 23:48:43 +0200
committerMontel Laurent <[email protected]>2017-08-17 23:48:43 +0200
commit4845ef4f314df6cbafad4076e802b31db3434452 (patch)
tree2425d3b47b46a4f9cdfaa89f34527896ee1515fc
parent2f47ced21e88480cdc29910090c9b3fd2de6b32c (diff)
Remove unused variable
-rw-r--r--src/configuredialog/configureappearancepage.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/configuredialog/configureappearancepage.cpp b/src/configuredialog/configureappearancepage.cpp
index f8a8151..8b46983 100644
--- a/src/configuredialog/configureappearancepage.cpp
+++ b/src/configuredialog/configureappearancepage.cpp
@@ -407,8 +407,6 @@ void AppearancePage::ColorsTab::loadColor(bool loadFromConfig)
if (KMKernel::self()) {
KConfigGroup reader(KMKernel::self()->config(), "Reader");
- KConfigGroup collectionFolderView(KMKernel::self()->config(), "CollectionFolderView");
-
static const QColor defaultColor[ numColorNames ] = {
MessageCore::ColorUtil::self()->quoteLevel1DefaultTextColor(),
MessageCore::ColorUtil::self()->quoteLevel2DefaultTextColor(),
@@ -459,11 +457,9 @@ void AppearancePage::ColorsTab::save()
return;
}
KConfigGroup reader(KMKernel::self()->config(), "Reader");
- KConfigGroup collectionFolderView(KMKernel::self()->config(), "CollectionFolderView");
bool customColors = mCustomColorCheck->isChecked();
MessageCore::MessageCoreSettings::self()->setUseDefaultColors(!customColors);
- KColorScheme scheme(QPalette::Active, KColorScheme::View);
for (int i = 0; i < numColorNames; ++i) {
const QString configName = QLatin1String(colorNames[i].configName);