summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Riddell <jr@jriddell.org>2016-09-23 14:40:34 (GMT)
committerJonathan Riddell <jr@jriddell.org>2016-09-23 14:40:34 (GMT)
commitc43b1761804e85ed723d167486eb1a609dcd95ea (patch)
treee63cb49e88fdf2212fefae4d239b22ff88bb2bd0
parent7547ff98ce575ba67713edbeaa1d77602eee092f (diff)
Filter for current Arch so on multiarch systems it doesn't try to install several packages and get confused
-rw-r--r--samba/filepropertiesplugin/sambausershareplugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/samba/filepropertiesplugin/sambausershareplugin.cpp b/samba/filepropertiesplugin/sambausershareplugin.cpp
index 463674d..5c2e15e 100644
--- a/samba/filepropertiesplugin/sambausershareplugin.cpp
+++ b/samba/filepropertiesplugin/sambausershareplugin.cpp
@@ -145,7 +145,7 @@ void SambaUserSharePlugin::installSamba()
{
QString package = QStringLiteral(SAMBA_PACKAGE_NAME);
PackageKit::Transaction *transaction = PackageKit::Daemon::resolve(package,
- PackageKit::Transaction::FilterNone);
+ PackageKit::Transaction::FilterArch);
connect(transaction,
SIGNAL(package(PackageKit::Transaction::Info,QString,QString)),
SLOT(packageInstall(PackageKit::Transaction::Info,QString,QString)));