summaryrefslogtreecommitdiffstats
path: root/src/autostart.h
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2020-01-12 00:26:22 +0900
committerMichele Calgaro <[email protected]>2020-01-12 00:27:18 +0900
commit71b675fa4e99c5f77e63408dcf8f6a9f7566df1c (patch)
tree42eaab0360a8bc819d4deba7a08723e7abce5e4a /src/autostart.h
parent68672d4f27f55ece3dba82622d309c884722eafc (diff)
downloadkcmautostart-71b675fa4e99c5f77e63408dcf8f6a9f7566df1c.tar.gz
kcmautostart-71b675fa4e99c5f77e63408dcf8f6a9f7566df1c.zip
Improve code avoiding allocation of unnecessary objects.
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 46555645d00c11ea59993b09fa3464643bd98f62)
Diffstat (limited to 'src/autostart.h')
-rw-r--r--src/autostart.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/autostart.h b/src/autostart.h
index 25381e1..0f82473 100644
--- a/src/autostart.h
+++ b/src/autostart.h
@@ -29,7 +29,6 @@
#include <kpushbutton.h>
#include <tdelistview.h>
#include <tdefileitem.h>
-#include <tdeglobalsettings.h>
#include <tqpushbutton.h>
#include <tqcombobox.h>
@@ -59,11 +58,10 @@ public slots:
private:
TDEAboutData *myAboutData;
- TDEGlobalSettings *kgs;
- KPushButton* btnAdd;
- TDEListView* listCMD;
- KPushButton* btnRemove;
- TQPushButton* btnProperties;
+ KPushButton* btnAdd;
+ TDEListView* listCMD;
+ KPushButton* btnRemove;
+ TQPushButton* btnProperties;
TQComboBox* cmbStartOn;
};