summaryrefslogtreecommitdiff
path: root/core/applets/irdaapplet
Side-by-side diff
Diffstat (limited to 'core/applets/irdaapplet') (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/irdaapplet/irdaappletimpl.cpp2
-rw-r--r--core/applets/irdaapplet/irdaappletimpl.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/core/applets/irdaapplet/irdaappletimpl.cpp b/core/applets/irdaapplet/irdaappletimpl.cpp
index 3617698..33d98af 100644
--- a/core/applets/irdaapplet/irdaappletimpl.cpp
+++ b/core/applets/irdaapplet/irdaappletimpl.cpp
@@ -13,25 +13,25 @@
**
** See http://www.trolltech.com/gpl/ for GPL licensing information.
**
** Contact info@trolltech.com if any conditions of this licensing are
** not clear to you.
**
**********************************************************************/
#include "irda.h"
#include "irdaappletimpl.h"
IrdaAppletImpl::IrdaAppletImpl()
- : irda(0), ref(0)
+ : irda(0)
{
}
IrdaAppletImpl::~IrdaAppletImpl()
{
delete irda;
}
QWidget *IrdaAppletImpl::applet( QWidget *parent )
{
if ( !irda )
irda = new IrdaApplet( parent );
diff --git a/core/applets/irdaapplet/irdaappletimpl.h b/core/applets/irdaapplet/irdaappletimpl.h
index f9e855a..024cc06 100644
--- a/core/applets/irdaapplet/irdaappletimpl.h
+++ b/core/applets/irdaapplet/irdaappletimpl.h
@@ -31,16 +31,15 @@ class IrdaAppletImpl : public TaskbarAppletInterface
public:
IrdaAppletImpl();
virtual ~IrdaAppletImpl();
QRESULT queryInterface( const QUuid&, QUnknownInterface** );
Q_REFCOUNT
virtual QWidget *applet( QWidget *parent );
virtual int position() const;
private:
IrdaApplet *irda;
- ulong ref;
};
#endif