summaryrefslogtreecommitdiff
path: root/core/applets/restartapplet
Unidiff
Diffstat (limited to 'core/applets/restartapplet') (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/restartapplet/restartappletimpl.cpp2
-rw-r--r--core/applets/restartapplet/restartappletimpl.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/core/applets/restartapplet/restartappletimpl.cpp b/core/applets/restartapplet/restartappletimpl.cpp
index 5b0092d..d8e10d3 100644
--- a/core/applets/restartapplet/restartappletimpl.cpp
+++ b/core/applets/restartapplet/restartappletimpl.cpp
@@ -19,13 +19,13 @@
19**********************************************************************/ 19**********************************************************************/
20#include "restart.h" 20#include "restart.h"
21#include "restartappletimpl.h" 21#include "restartappletimpl.h"
22 22
23 23
24RestartAppletImpl::RestartAppletImpl() 24RestartAppletImpl::RestartAppletImpl()
25 : restart(0), ref(0) 25 : restart(0)
26{ 26{
27} 27}
28 28
29RestartAppletImpl::~RestartAppletImpl() 29RestartAppletImpl::~RestartAppletImpl()
30{ 30{
31 delete restart; 31 delete restart;
diff --git a/core/applets/restartapplet/restartappletimpl.h b/core/applets/restartapplet/restartappletimpl.h
index cdda49c..db2b821 100644
--- a/core/applets/restartapplet/restartappletimpl.h
+++ b/core/applets/restartapplet/restartappletimpl.h
@@ -35,10 +35,9 @@ public:
35 35
36 virtual QWidget *applet( QWidget *parent ); 36 virtual QWidget *applet( QWidget *parent );
37 virtual int position() const; 37 virtual int position() const;
38 38
39private: 39private:
40 RestartApplet *restart; 40 RestartApplet *restart;
41 ulong ref;
42}; 41};
43 42
44#endif 43#endif