~ubuntu-branches/ubuntu/vivid/qtcreator-plugin-ubuntu/vivid

« back to all changes in this revision

Viewing changes to src/ubuntu/ubuntulocalrunconfiguration.cpp

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release, Benjamin Zeller, Bin Li
  • Date: 2015-01-14 11:11:03 UTC
  • mfrom: (1.1.76)
  • Revision ID: package-import@ubuntu.com-20150114111103-b0pvphib2u57vi70
Tags: 3.1.1+15.04.20150114-0ubuntu1
[ Benjamin Zeller ]
* Fix bug lp:1409815 "Manifest file with invalid syntax reported as
  missing" -Automatically update default runconfigurations when the
  manifest file changes (LP: #1409815)

[ Bin Li ]
* Skip the incomplete emulator. Fixes LP: #1409596 (LP: #1409596)

Show diffs side-by-side

added added

removed removed

Lines of Context:
231
231
 
232
232
    //read the manifest
233
233
    UbuntuClickManifest manifest;
234
 
    if(!manifest.load(manifestPath)) {
 
234
    QString manifestErrMsg;
 
235
    if(!manifest.load(manifestPath,nullptr,&manifestErrMsg)) {
235
236
        if(errorMessage)
236
 
            *errorMessage = tr("Could not open the manifest file in the package directory, make sure its installed into the root of the click package.");
 
237
            *errorMessage = tr("Could not open the manifest file in the package directory: %1.").arg(manifestErrMsg);
237
238
 
238
239
        return QString();
239
240
    }