summaryrefslogtreecommitdiff
path: root/noncore/applets/memoryapplet
Unidiff
Diffstat (limited to 'noncore/applets/memoryapplet') (more/less context) (show whitespace changes)
-rw-r--r--noncore/applets/memoryapplet/memoryappletimpl.cpp2
-rw-r--r--noncore/applets/memoryapplet/memoryappletimpl.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/noncore/applets/memoryapplet/memoryappletimpl.cpp b/noncore/applets/memoryapplet/memoryappletimpl.cpp
index a57f4a9..a117e7f 100644
--- a/noncore/applets/memoryapplet/memoryappletimpl.cpp
+++ b/noncore/applets/memoryapplet/memoryappletimpl.cpp
@@ -18,13 +18,13 @@
18** 18**
19**********************************************************************/ 19**********************************************************************/
20#include "memorymeter.h" 20#include "memorymeter.h"
21#include "memoryappletimpl.h" 21#include "memoryappletimpl.h"
22 22
23MemoryAppletImpl::MemoryAppletImpl() 23MemoryAppletImpl::MemoryAppletImpl()
24 : memory(0), ref(0) 24 : memory(0)
25{ 25{
26} 26}
27 27
28MemoryAppletImpl::~MemoryAppletImpl() 28MemoryAppletImpl::~MemoryAppletImpl()
29{ 29{
30 delete memory; 30 delete memory;
diff --git a/noncore/applets/memoryapplet/memoryappletimpl.h b/noncore/applets/memoryapplet/memoryappletimpl.h
index e0016e1..2db7dbe 100644
--- a/noncore/applets/memoryapplet/memoryappletimpl.h
+++ b/noncore/applets/memoryapplet/memoryappletimpl.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 MemoryMeter *memory; 40 MemoryMeter *memory;
41 ulong ref;
42}; 41};
43 42
44#endif 43#endif