-rw-r--r-- | core/applets/cardmon/cardmon.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/core/applets/cardmon/cardmon.cpp b/core/applets/cardmon/cardmon.cpp index ed4bfc7..1ad8b55 100644 --- a/core/applets/cardmon/cardmon.cpp +++ b/core/applets/cardmon/cardmon.cpp @@ -399,29 +399,26 @@ bool CardMonitor::getStatusSd( int showPopUp ) } void CardMonitor::paintEvent( QPaintEvent * ) { QPainter p( this ); if ( cardInPcmcia0 || cardInPcmcia1 || cardInSd ) { p.drawPixmap( 0, 0, pm ); show(); } else { //p.eraseRect(rect()); hide(); } } int CardMonitor::position() { return 7; } -Q_EXPORT_INTERFACE() -{ - Q_CREATE_INSTANCE( Opie::Ui::Private::OTaskbarAppletWrapper<CardMonitor> ); -} +EXPORT_OPIE_APPLET_v1( CardMonitor ) |