Make sure initialize the values
commitb050452c9bd8bfb5a423e11a13d6b146775f8f9e
authorTed Gould <ted@gould.cx>
dateMon 7 Apr 2014, 17:05 (13 years ago)
parent4b25f39
plugins/Unity/Launcher/backend/launcherbackend.cpp+5
@@ -292,6 +292,11 @@ LauncherBackendItem* LauncherBackend::parseDesktopFile(const QString &desktopFil
292292 } else {
293293 item->icon = "image://theme/" + iconString;
294294 }
295+
296+ /* TODO: These should be looked up in a cache somewhere */
297+ item->count = 0;
298+ item->countVisible = false;
299+
295300 return item;
296301}
297302