summaryrefslogtreecommitdiff
path: root/src/gui/ministatus.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-02-20 00:25:42 +0200
committerAndrei Karas <akaras@inbox.ru>2011-02-20 00:25:42 +0200
commit3f00faa305201fabcc74e17dc24da4cefa9dbfa5 (patch)
tree460a7a06c97912e5ed9a525f01624748dd7a16a6 /src/gui/ministatus.cpp
parentda9ec0b7b8e061b3d3bf1d145284de9d778456c1 (diff)
downloadmv-3f00faa305201fabcc74e17dc24da4cefa9dbfa5.tar.gz
mv-3f00faa305201fabcc74e17dc24da4cefa9dbfa5.tar.bz2
mv-3f00faa305201fabcc74e17dc24da4cefa9dbfa5.tar.xz
mv-3f00faa305201fabcc74e17dc24da4cefa9dbfa5.zip
Fix some code style and some errors.
Diffstat (limited to 'src/gui/ministatus.cpp')
-rw-r--r--src/gui/ministatus.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/ministatus.cpp b/src/gui/ministatus.cpp
index e097c4246..303b36ae3 100644
--- a/src/gui/ministatus.cpp
+++ b/src/gui/ministatus.cpp
@@ -154,7 +154,7 @@ ProgressBar *MiniStatusWindow::createBar(float progress, int width, int height,
void MiniStatusWindow::updateBars()
{
- int x = 0, h = 0;
+ int x = 0;
std::list <ProgressBar*>::iterator it, it_end;
ProgressBar* lastBar = 0;
for (it = mBars.begin(), it_end = mBars.end(); it != it_end; ++it)
@@ -169,7 +169,6 @@ void MiniStatusWindow::updateBars()
bar->setPosition(x, 3);
add(bar);
x += bar->getWidth() + 3;
- h = bar->getHeight();
lastBar = bar;
}
}