on xenial help sign in
fix issues from review
commit7d865e007588ff818aaa48c2b0ae44c6c66930df authorMichael Zanetti <michael.zanetti@canonical.com> dateThu 2 Oct 2014, 15:34 (12 years ago) parent8a22c11
4 files changed+5−5
plugins/Unity/Launcher/gsettings.cpp+2−2 plugins/Unity/Launcher/gsettings.h+1−1 plugins/Unity/Launcher/launchermodel.cpp+1−1 plugins/Unity/Launcher/launchermodel.h+1−1
plugins/Unity/Launcher/gsettings.cpp+2−2
@@ -25,7 +25,7 @@ GSettings::GSettings(QObject *parent):
2525 QObject(parent)
2626{
2727 m_gSettings = new QGSettings("com.canonical.Unity.Launcher", "/com/canonical/unity/launcher/", this);
28− connect(m_gSettings, &QGSettings::changed, this, &GSettings::settingsChanged);
28+ connect(m_gSettings, &QGSettings::changed, this, &GSettings::onSettingsChanged);
2929}
3030
3131QStringList GSettings::storedApplications() const
@@ -62,7 +62,7 @@ void GSettings::setStoredApplications(const QStringList &storedApplications)
6262 m_gSettings->set("items", gSettingsList);
6363}
6464
65−void GSettings::settingsChanged(const QString &key)
65+void GSettings::onSettingsChanged(const QString &key)
6666{
6767 if (key == "items") {
6868 Q_EMIT changed();
plugins/Unity/Launcher/gsettings.h+1−1
@@ -37,7 +37,7 @@ Q_SIGNALS:
3737 void changed();
3838
3939private Q_SLOTS:
40− void settingsChanged(const QString &key);
40+ void onSettingsChanged(const QString &key);
4141
4242private:
4343 QGSettings *m_gSettings;
plugins/Unity/Launcher/launchermodel.cpp+1−1
@@ -1,5 +1,5 @@
11/*
2− * Copyright 2013 Canonical Ltd.
2+ * Copyright 2013-2014 Canonical Ltd.
33 *
44 * This program is free software; you can redistribute it and/or modify
55 * it under the terms of the GNU Lesser General Public License as published by
plugins/Unity/Launcher/launchermodel.h+1−1
@@ -1,5 +1,5 @@
11/*
2− * Copyright 2013 Canonical Ltd.
2+ * Copyright 2013-2014 Canonical Ltd.
33 *
44 * This program is free software; you can redistribute it and/or modify
55 * it under the terms of the GNU Lesser General Public License as published by