Explorar o código

Merge branch 'improve-ctkSettings-api'

* improve-ctkSettings-api:
  ctkSettings - resetSettings() and restoreDefaultSettings() are now virtual
Jean-Christophe Fillion-Robin %!s(int64=14) %!d(string=hai) anos
pai
achega
423831280f
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      Libs/Widgets/ctkSettingsPanel.h

+ 2 - 2
Libs/Widgets/ctkSettingsPanel.h

@@ -75,11 +75,11 @@ public slots:
 
   /// Restore all the properties with their values when applySettings() was
   /// called last (or their original values if applySettings was never called).
-  void resetSettings();
+  virtual void resetSettings();
 
   /// Restore all the properties with their original values; the current values
   /// of the properties when they were registered using registerProperty().
-  void restoreDefaultSettings();
+  virtual void restoreDefaultSettings();
 
 signals:
   /// Fired anytime a property is modified.