summaryrefslogtreecommitdiff
authorharlekin <harlekin>2004-04-25 18:03:55 (UTC)
committer harlekin <harlekin>2004-04-25 18:03:55 (UTC)
commit22d51bcaa58b90a3ffd4d429c43e6c24e1694ab3 (patch) (side-by-side diff)
treea4027f012a4bfe2596a35fadf0ed6409ac3278f4
parent37b6ddee96e789bcc3b4fdd2828889efa3adabc4 (diff)
downloadopie-22d51bcaa58b90a3ffd4d429c43e6c24e1694ab3.zip
opie-22d51bcaa58b90a3ffd4d429c43e6c24e1694ab3.tar.gz
opie-22d51bcaa58b90a3ffd4d429c43e6c24e1694ab3.tar.bz2
show applet fullscreen
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/applets/batteryapplet/battery.cpp2
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 ) {