Make the style engine fix a little less obscure by copying the string explicitely...
[quassel.git] / src / uisupport / settingspage.cpp
index 8b8e423..7808a74 100644 (file)
@@ -34,6 +34,14 @@ QString SettingsPage::title() const {
   return _title;
 }
 
+bool SettingsPage::hasDefaults() const {
+  return false;
+}
+
+void SettingsPage::defaults() {
+
+}
+
 bool SettingsPage::hasChanged() const {
   return _changed;
 }
@@ -43,10 +51,10 @@ bool SettingsPage::aboutToSave() {
 }
 
 void SettingsPage::changed() {
-  changeState(true);
+  setChangedState(true);
 }
 
-void SettingsPage::changeState(bool hasChanged) {
+void SettingsPage::setChangedState(bool hasChanged) {
   if(hasChanged != _changed) {
     _changed = hasChanged;
     emit changed(hasChanged);