Diffstat (limited to 'core/applets/cardmon/cardmonimpl.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/applets/cardmon/cardmonimpl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/applets/cardmon/cardmonimpl.cpp b/core/applets/cardmon/cardmonimpl.cpp index 265214e..7b144d4 100644 --- a/core/applets/cardmon/cardmonimpl.cpp +++ b/core/applets/cardmon/cardmonimpl.cpp @@ -1,42 +1,42 @@ #include "cardmon.h" #include "cardmonimpl.h" CardMonitorImpl::CardMonitorImpl() - : cardMonitor(0), ref(0) { + : cardMonitor(0) { } CardMonitorImpl::~CardMonitorImpl() { delete cardMonitor; } QWidget *CardMonitorImpl::applet( QWidget *parent ) { if ( !cardMonitor ) { cardMonitor = new CardMonitor( parent ); } return cardMonitor; } int CardMonitorImpl::position() const { return 7; } QRESULT CardMonitorImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface ) { *iface = 0; if ( uuid == IID_QUnknown ) { *iface = this; } else if ( uuid == IID_TaskbarApplet ) { *iface = this; } else { return QS_FALSE; } if ( *iface ) { (*iface)->addRef(); } return QS_OK; } Q_EXPORT_INTERFACE() { Q_CREATE_INSTANCE( CardMonitorImpl ) } |