~ubuntu-branches/debian/jessie/apper/jessie

« back to all changes in this revision

Viewing changes to PkSession/PkInstallGStreamerResources.cpp

  • Committer: Package Import Robot
  • Author(s): Matthias Klumpp
  • Date: 2013-07-30 12:34:46 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20130730123446-cgzujaj03pc61drn
Tags: 0.8.1-1
* New upstream release: 0.8.1
* Depend on software-properties-kde instead of suggesting it (Closes: #696583)
* Add patch to make AppStream loading more failsafe

Show diffs side-by-side

added added

removed removed

Lines of Context:
132
132
    transaction->whatProvides(Transaction::ProvidesCodec,
133
133
                              m_resources,
134
134
                              Transaction::FilterNotInstalled | Transaction::FilterArch | Transaction::FilterNewest);
135
 
    if (transaction->error()) {
 
135
    if (transaction->internalError()) {
136
136
        QString msg(i18n("Failed to search for provides"));
137
137
        if (showWarning()) {
138
 
            setError(msg, PkStrings::daemonError(transaction->error()));
 
138
            setError(msg, PkStrings::daemonError(transaction->internalError()));
139
139
        }
140
140
        sendErrorFinished(Failed, msg);
141
141
    }