From 8bbd778c28f52277dbee4a8d7bcb577c61a611f6 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Tue, 24 Nov 2020 12:40:59 +0100 Subject: cleanup: remove unused PreferencesDialog::emitSettingsChanged() Signed-off-by: Berthold Stoeger --- desktop-widgets/preferences/preferencesdialog.cpp | 5 ----- desktop-widgets/preferences/preferencesdialog.h | 1 - 2 files changed, 6 deletions(-) (limited to 'desktop-widgets/preferences') 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(); -- cgit v1.2.3-70-g09d2