~ps-jenkins/unity-mir/latestsnapshot-0.1+13.10.20130913-0ubuntu1

« back to all changes in this revision

Viewing changes to src/modules/Unity/Application/application_manager.cpp

  • Committer: Tarmac
  • Author(s): Gerry Boland
  • Date: 2013-09-12 20:44:46 UTC
  • mfrom: (82.1.2 fix-click-apps)
  • Revision ID: tarmac-20130912204446-dd3f2led8gmiv58q
Fix click apps so they launch. Also repair icon path deduced from desktop file.

Approved by PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
218
218
    QStringList arguments = constArgs;
219
219
 
220
220
    // Load desktop file.
221
 
    QString desktopFile = QString("/usr/share/applications/%1.desktop").arg(appId);
222
 
    DesktopFileReader* desktopData = new DesktopFileReader(desktopFile);
 
221
    DesktopFileReader* desktopData = new DesktopFileReader(appId);
223
222
    if (!desktopData->loaded()) {
224
223
        delete desktopData;
225
224
        return NULL;