@@ -21,7 +21,6 @@
2121
2222#include <QGSettings>
2323#include <QVariant>
24−#include <QDebug>
2524
2625GSettings::GSettings(QObject *parent):
2726 QObject(parent)
@@ -43,7 +42,6 @@ QStringList GSettings::storedApplications() const
4342 }
4443
4544 Q_FOREACH(const QString &entry, gSettings.get(settingsKey).toStringList()) {
46− qDebug() << "got entry" << entry;
4745 if (entry.startsWith("application://")) {
4846 // convert legacy entries to new world appids
4947 QString appId = entry;
@@ -51,8 +49,7 @@ QStringList GSettings::storedApplications() const
5149 appId.remove(QRegExp("^application://"));
5250 appId.remove(QRegExp(".desktop$"));
5351 storedApps << appId;
54− }
55− if (entry.startsWith("appid://")) {
52+ } else if (entry.startsWith("appid://")) {
5653 QString appId = entry;
5754 appId.remove("appid://");
5855 if (appId.split('/').count() == 3) {