summaryrefslogtreecommitdiff
path: root/core/applets/rotateapplet
Side-by-side diff
Diffstat (limited to 'core/applets/rotateapplet') (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/rotateapplet/rotate.cpp2
-rw-r--r--core/applets/rotateapplet/rotate.h3
2 files changed, 2 insertions, 3 deletions
diff --git a/core/applets/rotateapplet/rotate.cpp b/core/applets/rotateapplet/rotate.cpp
index b676c74..cf3f28b 100644
--- a/core/applets/rotateapplet/rotate.cpp
+++ b/core/applets/rotateapplet/rotate.cpp
@@ -44,13 +44,13 @@ using namespace Opie;
#include <qiconset.h>
#include <qpopupmenu.h>
#include <time.h>
RotateApplet::RotateApplet()
- :QObject( 0, "RotateApplet" ), ref( 0 ), m_flipped( false )
+ :QObject( 0, "RotateApplet" ), m_flipped( false )
{
#if !defined(QT_NO_COP)
QCopChannel *rotateChannel = new QCopChannel( "QPE/Rotation" , this );
connect ( rotateChannel, SIGNAL( received( const QCString &, const QByteArray &) ),
this, SLOT ( channelReceived( const QCString &, const QByteArray &) ) );
diff --git a/core/applets/rotateapplet/rotate.h b/core/applets/rotateapplet/rotate.h
index 4403c7d..2396993 100644
--- a/core/applets/rotateapplet/rotate.h
+++ b/core/applets/rotateapplet/rotate.h
@@ -61,12 +61,11 @@ public:
virtual void rotateDefault ( );
private slots:
void channelReceived( const QCString &msg, const QByteArray & data );
private:
- ulong ref;
- bool m_flipped;
+ bool m_flipped : 1;
};
#endif