Less error prone reset to default config
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user