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 394cf8e6 authored by Laurent Montel's avatar Laurent Montel 😁

Don't use default otherwise we can't see missing enum during compilation

parent 121f49f9
......@@ -39,6 +39,7 @@
#include <KLocalizedString>
#include <kconfiggroup.h>
#include <KSharedConfig>
#include <QMouseEvent>
using namespace MessageViewer;
......@@ -183,9 +184,8 @@ QColor HtmlStatusBar::fgColor() const
color = conf.readEntry("ColorbarForegroundPlain", defaultColor);
}
return color;
default:
return Qt::black;
}
return Qt::black;
}
QColor HtmlStatusBar::bgColor() const
......@@ -211,7 +211,6 @@ QColor HtmlStatusBar::bgColor() const
color = conf.readEntry("ColorbarBackgroundPlain", defaultColor);
}
return color;
default:
return Qt::white;
}
return Qt::white;
}
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