author | zecke <zecke> | 2004-04-04 23:31:29 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-04-04 23:31:29 (UTC) |
commit | fb8ce053c0f08769d359fe4153785e3de72f83ea (patch) (unidiff) | |
tree | 2f0081cf8739c6daba81c791ec77bde37cbbba1a | |
parent | f2da7b706fd5e0512222e11ce0d94d2750074fd1 (diff) | |
download | opie-fb8ce053c0f08769d359fe4153785e3de72f83ea.zip opie-fb8ce053c0f08769d359fe4153785e3de72f83ea.tar.gz opie-fb8ce053c0f08769d359fe4153785e3de72f83ea.tar.bz2 |
Comitting a fix is probably a good idea
use EXPORT_OPIE_APPLET_v1 instead of OTaskBarAppletWrapper directly
-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 | |||
@@ -407,21 +407,18 @@ void CardMonitor::paintEvent( QPaintEvent * ) | |||
407 | { | 407 | { |
408 | p.drawPixmap( 0, 0, pm ); | 408 | p.drawPixmap( 0, 0, pm ); |
409 | show(); | 409 | show(); |
410 | } | 410 | } |
411 | else | 411 | else |
412 | { | 412 | { |
413 | //p.eraseRect(rect()); | 413 | //p.eraseRect(rect()); |
414 | hide(); | 414 | hide(); |
415 | } | 415 | } |
416 | } | 416 | } |
417 | 417 | ||
418 | int CardMonitor::position() | 418 | int CardMonitor::position() |
419 | { | 419 | { |
420 | return 7; | 420 | return 7; |
421 | } | 421 | } |
422 | 422 | ||
423 | Q_EXPORT_INTERFACE() | 423 | EXPORT_OPIE_APPLET_v1( CardMonitor ) |
424 | { | ||
425 | Q_CREATE_INSTANCE( Opie::Ui::Private::OTaskbarAppletWrapper<CardMonitor> ); | ||
426 | } | ||
427 | 424 | ||