src/settings.h

changeset 259
c27612f0eac0
parent 250
2837b549e616
child 264
76a025db4948
--- a/src/settings.h	Wed Jun 22 23:51:06 2022 +0300
+++ b/src/settings.h	Sun Jun 26 19:44:45 2022 +0300
@@ -42,7 +42,7 @@
 SETTING(LogOpenGLDebugMessages, false)
 
 // File management options
-SETTING(Libraries, QVector<Library>{})
+SETTING(Libraries, Libraries{})
 
 // End of setting definitions
 // -----------------------------------------------------------------------------
@@ -74,7 +74,7 @@
 template<class X>
 inline void setSetting(const SettingType_t<X>& value)
 {
-	if (value == settingDefaultValue<X>()) {
+	if (false/*value == settingDefaultValue<X>()*/) {
 		QSettings{}.remove(settingName<X>);
 	}
 	else {

mercurial