@@ -256,7 +256,6 @@ void LauncherBackend::syncFromAccounts()
256 if (m_accounts && defaults) { // Checking accounts as it'll be null when !useStorage
256 if (m_accounts && defaults) { // Checking accounts as it'll be null when !useStorage
257 QGSettings gSettings("com.canonical.Unity.Launcher", "/com/canonical/unity/launcher/");
257 QGSettings gSettings("com.canonical.Unity.Launcher", "/com/canonical/unity/launcher/");
258 Q_FOREACH(const QString &entry, gSettings.get("favorites").toStringList()) {
258 Q_FOREACH(const QString &entry, gSettings.get("favorites").toStringList()) {
259− qDebug() << "loading entry" << entry;
260 if (entry.startsWith("application://")) {
259 if (entry.startsWith("application://")) {
261 QString appId = entry;
260 QString appId = entry;
262 // Transform "application://foobar.desktop" to "application://foobar"
261 // Transform "application://foobar.desktop" to "application://foobar"
@@ -285,7 +284,6 @@ void LauncherBackend::syncFromAccounts()
286 appId = appId.split('/').first() + "_" + appId.split('/').at(1);
285 appId = appId.split('/').first() + "_" + appId.split('/').at(1);
287 QString df = findDesktopFile(appId);
286 QString df = findDesktopFile(appId);
288− qDebug() << "got df file" << df;
290 if (!df.isEmpty()) {
288 if (!df.isEmpty()) {
291 m_storedApps << appId;
289 m_storedApps << appId;
@@ -325,7 +323,6 @@ QString LauncherBackend::findDesktopFile(const QString &appId) const
325#ifdef LAUNCHER_TESTING
323#ifdef LAUNCHER_TESTING
326 searchDirs << "";
324 searchDirs << "";
328− qDebug() << "search dirs are" << searchDirs;
331 if (dashPos != -1) {
328 if (dashPos != -1) {
@@ -386,7 +383,7 @@ LauncherBackendItem* LauncherBackend::getItem(const QString &appId) const
386 qWarning() << "Unable to parse desktop file for" << appId << "path" << df;
383 qWarning() << "Unable to parse desktop file for" << appId << "path" << df;
389− qDebug() << "Unable to find desktop file for:" << appId;
386+ qWarning() << "Unable to find desktop file for:" << appId;