From 23d7d4f8421a7d0c377bf1da866a39fe4012d07e Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Tue, 12 Feb 2013 13:26:07 +0100 Subject: [PATCH] remove unused private members --- plasma/private/applet_p.cpp | 1 - plasma/private/applet_p.h | 7 ------- 2 files changed, 8 deletions(-) diff --git a/plasma/private/applet_p.cpp b/plasma/private/applet_p.cpp index 803990c5e..52b621605 100644 --- a/plasma/private/applet_p.cpp +++ b/plasma/private/applet_p.cpp @@ -62,7 +62,6 @@ AppletPrivate::AppletPrivate(KService::Ptr service, const KPluginInfo *info, int actions(AppletPrivate::defaultActions(applet)), activationAction(0), itemStatus(UnknownStatus), - preferredSizePolicy(QSizePolicy::Ignored, QSizePolicy::Ignored), modificationsTimer(0), hasConfigurationInterface(false), failed(false), diff --git a/plasma/private/applet_p.h b/plasma/private/applet_p.h index d5fc9f651..79572073e 100644 --- a/plasma/private/applet_p.h +++ b/plasma/private/applet_p.h @@ -148,12 +148,6 @@ public: ItemStatus itemStatus; - // the applet can change size policy by itself, so save the old one for eventual restore - QSizePolicy preferredSizePolicy; - - //keep last sizes for formfactors, useful when the containment changes - QHash sizeForFormFactor; - // timerEvent bookkeeping QBasicTimer constraintsTimer; QBasicTimer *modificationsTimer; @@ -162,7 +156,6 @@ public: bool hasConfigurationInterface : 1; bool failed : 1; bool isContainment : 1; - bool square : 1; bool transient : 1; bool needsConfig : 1; bool started : 1;