-QColor QtUiStyleSettings::highlightColor() {
- return localValue("Colors/HighlightColor", QColor()).value<QColor>();
+
+bool WarningsSettings::showWarning(const QString &key)
+{
+ return localValue(key, true).toBool();
+}
+
+
+void WarningsSettings::setShowWarning(const QString &key, bool show)
+{
+ setLocalValue(key, show);