X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fuisupport%2Fsettingspage.h;h=994a3e4f06a8468814baf407cb67f55b12aad255;hb=61f33c7895e324f6e95034d86897ad2e963653f1;hp=523cfa255d76620ac8c57cbebef88134e34a4c5b;hpb=39328183a6a87c6eb10a9dbbffcd5d65bf154a1f;p=quassel.git diff --git a/src/uisupport/settingspage.h b/src/uisupport/settingspage.h index 523cfa25..994a3e4f 100644 --- a/src/uisupport/settingspage.h +++ b/src/uisupport/settingspage.h @@ -61,8 +61,7 @@ class UISUPPORT_EXPORT SettingsPage : public QWidget Q_OBJECT public: - SettingsPage(const QString &category, const QString &name, QWidget *parent = nullptr); - virtual ~SettingsPage() {}; + SettingsPage(QString category, QString name, QWidget *parent = nullptr); //! The category of this settings page. inline virtual QString category() const { return _category; } @@ -140,9 +139,6 @@ public slots: virtual void defaults(); protected slots: - //! Calling this slot is equivalent to calling setChangedState(true). - inline void changed() { setChangedState(true); } - //! This should be called whenever the widget state changes from unchanged to change or the other way round. void setChangedState(bool hasChanged = true);