Diffstat (limited to 'core/applets/batteryapplet/battery.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/applets/batteryapplet/battery.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/applets/batteryapplet/battery.cpp b/core/applets/batteryapplet/battery.cpp index 0d3d190..e85a9da 100644 --- a/core/applets/batteryapplet/battery.cpp +++ b/core/applets/batteryapplet/battery.cpp | |||
@@ -79,6 +79,7 @@ void BatteryMeter::mouseReleaseEvent( QMouseEvent* /*e*/ ) { | |||
79 | batteryView->setFrameStyle( QFrame::PopupPanel | QFrame::Raised ); | 79 | batteryView->setFrameStyle( QFrame::PopupPanel | QFrame::Raised ); |
80 | } | 80 | } |
81 | 81 | ||
82 | batteryView->UpdateBatteryStatus(); | ||
82 | QRect r(batteryView->pos(),batteryView->sizeHint()); | 83 | QRect r(batteryView->pos(),batteryView->sizeHint()); |
83 | QPoint curPos = this->mapToGlobal ( rect().topLeft() ); | 84 | QPoint curPos = this->mapToGlobal ( rect().topLeft() ); |
84 | 85 | ||