summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Riddell <jr@jriddell.org>2016-09-26 12:59:02 (GMT)
committerJonathan Riddell <jr@jriddell.org>2016-09-26 12:59:02 (GMT)
commitf00915e88af1514e209319ac5758b74bd2696bf9 (patch)
tree88879c6159f4cbcc2cdf49c561b6a5dd62426f4f
parent89281b19aa0caebbf80fb6ff04cd9f26a9e90cae (diff)
white space tidy
-rw-r--r--app/kipiinterface.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/kipiinterface.cpp b/app/kipiinterface.cpp
index 1ba514a..577621f 100644
--- a/app/kipiinterface.cpp
+++ b/app/kipiinterface.cpp
@@ -357,18 +357,18 @@ void KIPIInterface::slotInstallPlugins(bool checked) {
Q_UNUSED(checked);
d->installDialog = new QProgressDialog(i18n("Installing Plugins..."), i18n("Cancel"), 0, 0);
d->installDialog->setWindowModality(Qt::WindowModal);
-
+
Appstream::Database appstreamDatabase;
appstreamDatabase.open();
Appstream::Component kipiPlugins = appstreamDatabase.componentById("photolayoutseditor.desktop");
QString package = kipiPlugins.packageNames()[0];
-
+
PackageKit::Transaction *transaction = PackageKit::Daemon::resolve(package,
PackageKit::Transaction::FilterArch);
connect(transaction,
SIGNAL(package(PackageKit::Transaction::Info,QString,QString)),
SLOT(packageInstall(PackageKit::Transaction::Info,QString,QString)));
-
+
d->installDialog->show();
}
@@ -394,7 +394,7 @@ void KIPIInterface::packageFinished(PackageKit::Transaction::Exit status, uint r
d->installDialog->setLabelText("Could not install plugins.");
d->installDialog->setMaximum(100);
d->installDialog->setCancelButtonText("&Close");
- }
+ }
}
#endif