Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 4845ef4f authored by Laurent Montel's avatar Laurent Montel 😁

Remove unused variable

parent 2f47ced2
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment