Diffstat (limited to 'core/applets/cardmon/cardmonimpl.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/applets/cardmon/cardmonimpl.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/applets/cardmon/cardmonimpl.cpp b/core/applets/cardmon/cardmonimpl.cpp index 0aa55de..265214e 100644 --- a/core/applets/cardmon/cardmonimpl.cpp +++ b/core/applets/cardmon/cardmonimpl.cpp @@ -18,23 +18,25 @@ QWidget *CardMonitorImpl::applet( QWidget *parent ) { } 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 ) } |