Projects
Eulaceura:Factory
plasma-pk-updates
_service:obs_scm:0014-Remove-explicit-initializ...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:0014-Remove-explicit-initialization-of-default-constructe.patch of Package plasma-pk-updates
From 04cb8277574b07b78b7f7f03dea1aa4080f09f58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens@rwth-aachen.de> Date: Fri, 21 Jun 2019 00:03:35 +0200 Subject: [PATCH 14/51] Remove explicit initialization of default constructed members Summary: All four are of type QPointer<PackageKit::Transaction> and are thus default initialized, no need to do it explicitly. Reviewers: lukas, jgrulich, ngraham Reviewed By: jgrulich Differential Revision: https://phabricator.kde.org/D21975 --- src/declarative/pkupdates.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/declarative/pkupdates.cpp b/src/declarative/pkupdates.cpp index 5a5e6ce..ffccff7 100644 --- a/src/declarative/pkupdates.cpp +++ b/src/declarative/pkupdates.cpp @@ -47,11 +47,7 @@ namespace } // namespace { PkUpdates::PkUpdates(QObject *parent) : - QObject(parent), - m_updatesTrans(Q_NULLPTR), - m_cacheTrans(Q_NULLPTR), - m_installTrans(Q_NULLPTR), - m_detailTrans(Q_NULLPTR) + QObject(parent) { setStatusMessage(i18n("Idle")); -- 2.28.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2