Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 4d5c1618 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

pk: No need to show a message when cancelling

The user knows, he did so

CCBUG: 401845
parent 6295c13d
......@@ -269,7 +269,7 @@ void PKTransaction::eulaRequired(const QString& eulaID, const QString& packageID
void PKTransaction::errorFound(PackageKit::Transaction::Error err, const QString& error)
{
if (err == PackageKit::Transaction::ErrorNoLicenseAgreement)
if (err == PackageKit::Transaction::ErrorNoLicenseAgreement || err == PackageKit::Transaction::ErrorTransactionCancelled)
return;
qWarning() << "PackageKit error:" << err << PackageKitMessages::errorMessage(err) << error;
Q_EMIT passiveMessage(PackageKitMessages::errorMessage(err));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment