From 1e40e5989db02c56063bac2effafecf539e49a95 Mon Sep 17 00:00:00 2001 From: Arttu Tarkiainen Date: Thu, 30 Dec 2021 17:14:53 +0200 Subject: Remove unused "ComponentPrivate::m_unstable" variable We store the unstable state in a QHash dictionary that holds the misc variables for components. Change-Id: Icc88032f4bf07176e684a37d896d676838b448f8 Reviewed-by: Iikka Eklund Reviewed-by: Katja Marttila --- src/libs/installer/component_p.cpp | 1 - src/libs/installer/component_p.h | 1 - 2 files changed, 2 deletions(-) (limited to 'src/libs/installer') diff --git a/src/libs/installer/component_p.cpp b/src/libs/installer/component_p.cpp index 0f74e423c..8533d8e4c 100644 --- a/src/libs/installer/component_p.cpp +++ b/src/libs/installer/component_p.cpp @@ -54,7 +54,6 @@ ComponentPrivate::ComponentPrivate(PackageManagerCore *core, Component *qq) , m_autoCreateOperations(true) , m_operationsCreatedSuccessfully(true) , m_updateIsAvailable(false) - , m_unstable(false) { } diff --git a/src/libs/installer/component_p.h b/src/libs/installer/component_p.h index e4d28d26a..d673baec1 100644 --- a/src/libs/installer/component_p.h +++ b/src/libs/installer/component_p.h @@ -63,7 +63,6 @@ public: bool m_autoCreateOperations; bool m_operationsCreatedSuccessfully; bool m_updateIsAvailable; - bool m_unstable; QString m_componentName; QUrl m_repositoryUrl; -- cgit v1.2.3