aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-11-24 12:40:59 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-12-12 15:52:40 -0800
commit8bbd778c28f52277dbee4a8d7bcb577c61a611f6 (patch)
tree3fca977aea035b0ee40f14eaf229becdfbded76f /desktop-widgets
parente7a18456c90f80433b6a6306dfdbd3b7bf016b76 (diff)
downloadsubsurface-8bbd778c28f52277dbee4a8d7bcb577c61a611f6.tar.gz
cleanup: remove unused PreferencesDialog::emitSettingsChanged()
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets')
-rw-r--r--desktop-widgets/preferences/preferencesdialog.cpp5
-rw-r--r--desktop-widgets/preferences/preferencesdialog.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/desktop-widgets/preferences/preferencesdialog.cpp b/desktop-widgets/preferences/preferencesdialog.cpp
index 7f9f91dd4..e1c737f99 100644
--- a/desktop-widgets/preferences/preferencesdialog.cpp
+++ b/desktop-widgets/preferences/preferencesdialog.cpp
@@ -31,11 +31,6 @@ PreferencesDialog* PreferencesDialog::instance()
return self;
}
-void PreferencesDialog::emitSettingsChanged()
-{
- emit settingsChanged();
-}
-
PreferencesDialog::PreferencesDialog()
{
//FIXME: This looks wrong.
diff --git a/desktop-widgets/preferences/preferencesdialog.h b/desktop-widgets/preferences/preferencesdialog.h
index 569733436..67433f0fd 100644
--- a/desktop-widgets/preferences/preferencesdialog.h
+++ b/desktop-widgets/preferences/preferencesdialog.h
@@ -18,7 +18,6 @@ public:
~PreferencesDialog();
void addPreferencePage(AbstractPreferencesWidget *page);
void refreshPages();
- void emitSettingsChanged();
void defaultsRequested();
signals:
void settingsChanged();