on xenial help sign in
drop more debug prints
8b0b602Michael Zanetti
plugins/Unity/Launcher/launchermodel.cpp−2
@@ -41,7 +41,6 @@ LauncherModel::LauncherModel(QObject *parent):
41 connect(m_dbusIface, &DBusInterface::refreshCalled, this, &LauncherModel::refresh);
41 connect(m_dbusIface, &DBusInterface::refreshCalled, this, &LauncherModel::refresh);
42
42
43 Q_FOREACH (const QString &entry, m_settings->storedApplications()) {
43 Q_FOREACH (const QString &entry, m_settings->storedApplications()) {
44− qDebug() << "got stored item:" << entry;
45 if (m_desktopFileHandler->findDesktopFile(entry).isEmpty()) {
44 if (m_desktopFileHandler->findDesktopFile(entry).isEmpty()) {
46 qWarning() << "Couldn't find a .desktop file for" << entry << ". Skipping...";
45 qWarning() << "Couldn't find a .desktop file for" << entry << ". Skipping...";
47 continue;
46 continue;
@@ -53,7 +52,6 @@ LauncherModel::LauncherModel(QObject *parent):
53 this);
52 this);
54 item->setPinned(true);
53 item->setPinned(true);
55 m_list.append(item);
54 m_list.append(item);
56− qDebug() << "Loaded item" << item->name() << item->icon();
57 }
55 }
58}
56}
59
57