author | kergoth <kergoth> | 2003-03-23 23:00:35 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2003-03-23 23:00:35 (UTC) |
commit | 7849f269eb4bbabe807608cec26d1a0ee9d05868 (patch) (unidiff) | |
tree | 887e4dd018e2fa92e03016d7d73c023f0371a7d9 /mkspecs/sco-cc | |
parent | aff270316219558bd00cbcc3ffc275213080fcd3 (diff) | |
download | opie-7849f269eb4bbabe807608cec26d1a0ee9d05868.zip opie-7849f269eb4bbabe807608cec26d1a0ee9d05868.tar.gz opie-7849f269eb4bbabe807608cec26d1a0ee9d05868.tar.bz2 |
Use of bat2 bool uninitialized (when on zaurus) resulted
in display of "Charging both devices" which confused users.
@@ -15,7 +15,7 @@
using namespace Opie;
BatteryStatus::BatteryStatus( const PowerStatus *p, QWidget *parent )
- : QWidget( parent, 0, WDestructiveClose), ps(p) {
+ : QWidget( parent, 0, WDestructiveClose), ps(p), bat2(false) {
setCaption( tr("Battery status") );
QPushButton *pb = new QPushButton( tr("Close"), this );
pb->move( 70, 250 );
0 files changed, 0 insertions, 0 deletions