X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/da1adf7ba407fc58cf458b8ebe26c793090c1763..8eb9b508ca87fb1d634d8b8ba62c054ed04466d2:/src/settings/startup/startupsettingspage.cpp?ds=sidebyside diff --git a/src/settings/startup/startupsettingspage.cpp b/src/settings/startup/startupsettingspage.cpp index 907b3f2cd..47da64d0a 100644 --- a/src/settings/startup/startupsettingspage.cpp +++ b/src/settings/startup/startupsettingspage.cpp @@ -25,12 +25,12 @@ #include "dolphin_generalsettings.h" -#include +#include #include -#include -#include -#include -#include +#include +#include +#include +#include #include #include @@ -98,8 +98,7 @@ StartupSettingsPage::StartupSettingsPage(const KUrl& url, QWidget* parent) : loadSettings(); - // Connecting the signals must be done after loading the settings - connect(m_homeUrl, SIGNAL(textChanged(const QString&)), this, SIGNAL(changed())); + connect(m_homeUrl, SIGNAL(textChanged(const QString&)), this, SLOT(slotSettingsChanged())); connect(m_splitView, SIGNAL(toggled(bool)), this, SLOT(slotSettingsChanged())); connect(m_editableUrl, SIGNAL(toggled(bool)), this, SLOT(slotSettingsChanged())); connect(m_showFullPath, SIGNAL(toggled(bool)), this, SLOT(slotSettingsChanged())); @@ -141,7 +140,7 @@ void StartupSettingsPage::restoreDefaults() void StartupSettingsPage::slotSettingsChanged() { // Provide a hint that the startup settings have been changed. This allows the views - // to apply the startup settings only if they have been explicitely changed by the user + // to apply the startup settings only if they have been explicitly changed by the user // (see bug #254947). GeneralSettings* settings = DolphinSettings::instance().generalSettings(); settings->setModifiedStartupSettings(true);