author | harlekin <harlekin> | 2004-04-25 18:03:55 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2004-04-25 18:03:55 (UTC) |
commit | 22d51bcaa58b90a3ffd4d429c43e6c24e1694ab3 (patch) (side-by-side diff) | |
tree | a4027f012a4bfe2596a35fadf0ed6409ac3278f4 | |
parent | 37b6ddee96e789bcc3b4fdd2828889efa3adabc4 (diff) | |
download | opie-22d51bcaa58b90a3ffd4d429c43e6c24e1694ab3.zip opie-22d51bcaa58b90a3ffd4d429c43e6c24e1694ab3.tar.gz opie-22d51bcaa58b90a3ffd4d429c43e6c24e1694ab3.tar.bz2 |
show applet fullscreen
-rw-r--r-- | core/applets/batteryapplet/battery.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/applets/batteryapplet/battery.cpp b/core/applets/batteryapplet/battery.cpp index 18e368e..98b61b5 100644 --- a/core/applets/batteryapplet/battery.cpp +++ b/core/applets/batteryapplet/battery.cpp @@ -74,25 +74,25 @@ void BatteryMeter::mousePressEvent( QMouseEvent* e ) } QWidget::mousePressEvent( e ); } void BatteryMeter::mouseReleaseEvent( QMouseEvent* /*e*/ ) { if ( batteryView && batteryView->isVisible() ) { delete (QWidget *) batteryView; } else { if ( !batteryView ) batteryView = new BatteryStatus( ps ); QPEApplication::showWidget( batteryView ); batteryView->raise(); - batteryView->show(); + batteryView->showMaximized(); } } void BatteryMeter::timerEvent( QTimerEvent * ) { PowerStatus prev = *ps; *ps = PowerStatusManager::readStatus(); if ( prev != *ps ) { percent = ps->batteryPercentRemaining(); if ( !charging && ps->batteryStatus() == PowerStatus::Charging ) { |