~jhodapp/qtubuntu/qtubuntu_add-live-orientation

« back to all changes in this revision

Viewing changes to src/modules/application/application_manager.cc

Added 'desktopFile' property to Application class.

Approved by PS Jenkins bot, Loïc Molinari.

Show diffs side-by-side

added added

removed removed

Lines of Context:
120
120
 
121
121
  // Check that at least the Name and Icon entries are set.
122
122
  if (matches & (kEntryNames[0].flag | kEntryNames[2].flag)) {
123
 
    return new Application(entries[0], entries[1], entries[2], id);
 
123
    return new Application(desktopFile, entries[0], entries[1], entries[2], id);
124
124
  } else {
125
125
    DLOG("not a valid desktop file, missing entries in the standard group header");
126
126
    return NULL;