Less error prone reset to default config

This commit is contained in:
lupoDharkael
2018-01-10 17:55:57 +01:00
parent fe61f2d394
commit f4c08dc3b9

View File

@@ -206,15 +206,7 @@ void ConfigHandler::setContrastOpacity(const int transparency) {
}
void ConfigHandler::setDefaults() {
setShowHelp(true);
setDesktopNotification(true);
setDrawColor(QColor(Qt::red));
setUIMainColor(QColor(116, 0, 150));
setUIContrastColor(QColor(86, 0, 120));
setdrawThickness(0);
setContrastOpacity(190);
setDisabledTrayIcon(false);
setAllTheButtons();
m_settings.clear();
}
void ConfigHandler::setAllTheButtons() {