~michael-sheldon/ubuntu-download-manager/qml-api-improvements

« back to all changes in this revision

Viewing changes to src/downloads/priv/ubuntu/downloads/file_download.cpp

  • Committer: Michael Sheldon
  • Date: 2016-04-14 15:16:42 UTC
  • mfrom: (358.2.2 ubuntu-download-manager)
  • Revision ID: michael.sheldon@canonical.com-20160414151642-s4iz4h5ty04eh0su
MergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
1023
1023
        postDownloadProcess->start(command, args);
1024
1024
        return;
1025
1025
    } else if (_metadata.contains(Metadata::COMMAND_KEY)) {
 
1026
        if (isConfined()) {
 
1027
            DOWN_LOG(ERROR) << "Post processing commands are unavailable to confined applications";
 
1028
            emitError(COMMAND_ERROR);
 
1029
            return;
 
1030
        }
1026
1031
        // just emit processing if we DO NOT have a hash because else we
1027
1032
        // already emitted it.
1028
1033
        if (_hash.isEmpty()) {