Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Maintenance:4673
plasma5-pk-updates.openSUSE_Leap_42.1_Update
gcc48.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gcc48.diff of Package plasma5-pk-updates.openSUSE_Leap_42.1_Update
diff --git a/src/declarative/pkupdates.cpp b/src/declarative/pkupdates.cpp index 5eef677..d029a3d 100644 --- a/src/declarative/pkupdates.cpp +++ b/src/declarative/pkupdates.cpp @@ -176,7 +176,7 @@ void PkUpdates::getUpdateDetails(const QString &pkgID) { qDebug() << "Requesting update details for" << pkgID; m_detailTrans = PackageKit::Daemon::getUpdateDetail(pkgID); - connect(m_detailTrans, &PackageKit::Transaction::updateDetail, this, &PkUpdates::onUpdateDetail); + connect(m_detailTrans.data(), &PackageKit::Transaction::updateDetail, this, &PkUpdates::onUpdateDetail); } QString PkUpdates::timestamp() const @@ -202,11 +202,11 @@ void PkUpdates::checkUpdates(bool force) m_cacheTrans = PackageKit::Daemon::refreshCache(force); setActivity(CheckingUpdates); - connect(m_cacheTrans, &PackageKit::Transaction::statusChanged, this, &PkUpdates::onStatusChanged); - connect(m_cacheTrans, &PackageKit::Transaction::finished, this, &PkUpdates::onFinished); - connect(m_cacheTrans, &PackageKit::Transaction::errorCode, this, &PkUpdates::onErrorCode); - connect(m_cacheTrans, &PackageKit::Transaction::requireRestart, this, &PkUpdates::onRequireRestart); - connect(m_cacheTrans, &PackageKit::Transaction::repoSignatureRequired, this, &PkUpdates::onRepoSignatureRequired); + connect(m_cacheTrans.data(), &PackageKit::Transaction::statusChanged, this, &PkUpdates::onStatusChanged); + connect(m_cacheTrans.data(), &PackageKit::Transaction::finished, this, &PkUpdates::onFinished); + connect(m_cacheTrans.data(), &PackageKit::Transaction::errorCode, this, &PkUpdates::onErrorCode); + connect(m_cacheTrans.data(), &PackageKit::Transaction::requireRestart, this, &PkUpdates::onRequireRestart); + connect(m_cacheTrans.data(), &PackageKit::Transaction::repoSignatureRequired, this, &PkUpdates::onRepoSignatureRequired); } qint64 PkUpdates::lastRefreshTimestamp() const @@ -234,12 +234,12 @@ void PkUpdates::getUpdates() m_importantList.clear(); m_securityList.clear(); - connect(m_updatesTrans, &PackageKit::Transaction::statusChanged, this, &PkUpdates::onStatusChanged); - connect(m_updatesTrans, &PackageKit::Transaction::finished, this, &PkUpdates::onFinished); - connect(m_updatesTrans, &PackageKit::Transaction::errorCode, this, &PkUpdates::onErrorCode); - connect(m_updatesTrans, &PackageKit::Transaction::package, this, &PkUpdates::onPackage); - connect(m_updatesTrans, &PackageKit::Transaction::requireRestart, this, &PkUpdates::onRequireRestart); - connect(m_updatesTrans, &PackageKit::Transaction::repoSignatureRequired, this, &PkUpdates::onRepoSignatureRequired); + connect(m_updatesTrans.data(), &PackageKit::Transaction::statusChanged, this, &PkUpdates::onStatusChanged); + connect(m_updatesTrans.data(), &PackageKit::Transaction::finished, this, &PkUpdates::onFinished); + connect(m_updatesTrans.data(), &PackageKit::Transaction::errorCode, this, &PkUpdates::onErrorCode); + connect(m_updatesTrans.data(), &PackageKit::Transaction::package, this, &PkUpdates::onPackage); + connect(m_updatesTrans.data(), &PackageKit::Transaction::requireRestart, this, &PkUpdates::onRequireRestart); + connect(m_updatesTrans.data(), &PackageKit::Transaction::repoSignatureRequired, this, &PkUpdates::onRepoSignatureRequired); } void PkUpdates::installUpdates(const QStringList &packageIds, bool simulate, bool untrusted) @@ -257,12 +257,12 @@ void PkUpdates::installUpdates(const QStringList &packageIds, bool simulate, boo m_installTrans->setProperty("packages", packageIds); setActivity(InstallingUpdates); - connect(m_installTrans, &PackageKit::Transaction::statusChanged, this, &PkUpdates::onStatusChanged); - connect(m_installTrans, &PackageKit::Transaction::finished, this, &PkUpdates::onFinished); - connect(m_installTrans, &PackageKit::Transaction::errorCode, this, &PkUpdates::onErrorCode); - connect(m_installTrans, &PackageKit::Transaction::package, this, &PkUpdates::onPackageUpdating); - connect(m_installTrans, &PackageKit::Transaction::requireRestart, this, &PkUpdates::onRequireRestart); - connect(m_installTrans, &PackageKit::Transaction::repoSignatureRequired, this, &PkUpdates::onRepoSignatureRequired); + connect(m_installTrans.data(), &PackageKit::Transaction::statusChanged, this, &PkUpdates::onStatusChanged); + connect(m_installTrans.data(), &PackageKit::Transaction::finished, this, &PkUpdates::onFinished); + connect(m_installTrans.data(), &PackageKit::Transaction::errorCode, this, &PkUpdates::onErrorCode); + connect(m_installTrans.data(), &PackageKit::Transaction::package, this, &PkUpdates::onPackageUpdating); + connect(m_installTrans.data(), &PackageKit::Transaction::requireRestart, this, &PkUpdates::onRequireRestart); + connect(m_installTrans.data(), &PackageKit::Transaction::repoSignatureRequired, this, &PkUpdates::onRepoSignatureRequired); } void PkUpdates::onChanged()
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor