Commit 8d32e317 authored by Lukas Appelhans's avatar Lukas Appelhans
Browse files

Fix scriptlet adding

parent a33176c9
......@@ -237,7 +237,7 @@ void Backend::setStatus(Backend::Status s, QObject * cO, const char * cS)
connect(d->iface, SIGNAL(lockGranted(qlonglong)), SLOT(__k__lockGranted(qlonglong)));
QDBusMessage mes = d->iface->call("getLock", QCoreApplication::applicationPid());
d->iface->asyncCall("getLock", QCoreApplication::applicationPid());
} else {
qDebug() << "Authorization not granted" << PolkitQt1::Authority::instance()->errorDetails();
Akabei::ErrorQueue::instance()->appendError(Error(Error::PermissionError, tr("An authorization error occurred: %1").arg(PolkitQt1::Authority::instance()->errorDetails())));
......@@ -311,6 +311,7 @@ void Backend::setStatus(Backend::Status s, QObject * cO, const char * cS)
}
d->status = s;
qDebug() << "Status changed to" << s;
emit statusChanged(d->status);
}
......
......@@ -159,7 +159,7 @@ void PackagePrivate::setScriptlet(const QString &s)
{
QWriteLocker locker(mutex);
scriptlet = s;
hasScriptlet = false;
hasScriptlet = true;
}
void PackagePrivate::setScreenshot(const QUrl &s)
......
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