summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/batteryapplet/batterystatus.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/applets/batteryapplet/batterystatus.cpp b/core/applets/batteryapplet/batterystatus.cpp
index 28d6275..7d3bdd9 100644
--- a/core/applets/batteryapplet/batterystatus.cpp
+++ b/core/applets/batteryapplet/batterystatus.cpp
@@ -12,13 +12,13 @@
12#include <qtextstream.h> 12#include <qtextstream.h>
13#include <qmessagebox.h> 13#include <qmessagebox.h>
14 14
15using namespace Opie; 15using namespace Opie;
16 16
17BatteryStatus::BatteryStatus( const PowerStatus *p, QWidget *parent ) 17BatteryStatus::BatteryStatus( const PowerStatus *p, QWidget *parent )
18 : QWidget( parent, 0, WDestructiveClose), ps(p) { 18 : QWidget( parent, 0, WDestructiveClose), ps(p), bat2(false) {
19 setCaption( tr("Battery status") ); 19 setCaption( tr("Battery status") );
20 QPushButton *pb = new QPushButton( tr("Close"), this ); 20 QPushButton *pb = new QPushButton( tr("Close"), this );
21 pb->move( 70, 250 ); 21 pb->move( 70, 250 );
22 pb->setMaximumHeight(20); 22 pb->setMaximumHeight(20);
23 pb->show(); 23 pb->show();
24 if ( ODevice::inst ( )-> series ( ) == Model_iPAQ ) { 24 if ( ODevice::inst ( )-> series ( ) == Model_iPAQ ) {