summaryrefslogtreecommitdiff
path: root/noncore/applets/autorotateapplet
Side-by-side diff
Diffstat (limited to 'noncore/applets/autorotateapplet') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/applets/autorotateapplet/autorotateimpl.cpp2
-rw-r--r--noncore/applets/autorotateapplet/autorotateimpl.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/noncore/applets/autorotateapplet/autorotateimpl.cpp b/noncore/applets/autorotateapplet/autorotateimpl.cpp
index 1b15c6d..305ac50 100644
--- a/noncore/applets/autorotateapplet/autorotateimpl.cpp
+++ b/noncore/applets/autorotateapplet/autorotateimpl.cpp
@@ -1,12 +1,12 @@
#include "autorotate.h"
#include "autorotateimpl.h"
AutoRotateImpl::AutoRotateImpl()
- : autoRotate(0), ref(0) {
+ : autoRotate(0){
qDebug ("here");
}
AutoRotateImpl::~AutoRotateImpl() {
delete autoRotate;
}
diff --git a/noncore/applets/autorotateapplet/autorotateimpl.h b/noncore/applets/autorotateapplet/autorotateimpl.h
index 87b0731..fde23a9 100644
--- a/noncore/applets/autorotateapplet/autorotateimpl.h
+++ b/noncore/applets/autorotateapplet/autorotateimpl.h
@@ -12,8 +12,7 @@ public:
virtual QWidget *applet( QWidget *parent );
virtual int position() const;
private:
AutoRotate *autoRotate;
- ulong ref;
};