summaryrefslogtreecommitdiff
path: root/src/gui/debugwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-16 20:39:33 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-16 20:39:33 +0300
commitbc92643d8db723b5049db2dbad1ce052a0ae77a9 (patch)
tree4471be99711ee310c811e990d7c210e2393aeb6e /src/gui/debugwindow.cpp
parent82cc576b7896f39bcf71aa85c8c4b3ef786c065b (diff)
downloadmv-bc92643d8db723b5049db2dbad1ce052a0ae77a9.tar.gz
mv-bc92643d8db723b5049db2dbad1ce052a0ae77a9.tar.bz2
mv-bc92643d8db723b5049db2dbad1ce052a0ae77a9.tar.xz
mv-bc92643d8db723b5049db2dbad1ce052a0ae77a9.zip
Fix code style and some other minor issues.
Diffstat (limited to 'src/gui/debugwindow.cpp')
-rw-r--r--src/gui/debugwindow.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/gui/debugwindow.cpp b/src/gui/debugwindow.cpp
index 0fe1e7d2b..a163ac1c6 100644
--- a/src/gui/debugwindow.cpp
+++ b/src/gui/debugwindow.cpp
@@ -140,6 +140,10 @@ MapDebugTab::MapDebugTab() :
mMapLabel(new Label(strprintf(_("Map:")))),
mMinimapLabel(new Label(strprintf(_("Minimap:")))),
mTileMouseLabel(new Label(strprintf("%s (%d, %d)", _("Cursor:"), 0, 0))),
+ mParticleCountLabel(new Label(strprintf("%s %d",
+ _("Particle count:"), 88888))),
+ mMapActorCountLabel(new Label(strprintf("%s %d",
+ _("Map actors count:"), 88888))),
mXYLabel(new Label(strprintf("%s (?,?)", _("Player Position:")))),
mTexturesLabel(nullptr),
mUpdateTime(0),
@@ -149,11 +153,6 @@ MapDebugTab::MapDebugTab() :
LayoutHelper h(this);
ContainerPlacer place = h.getPlacer(0, 0);
- mParticleCountLabel = new Label(strprintf("%s %d",
- _("Particle count:"), 88888));
- mMapActorCountLabel = new Label(strprintf("%s %d",
- _("Map actors count:"), 88888));
-
#ifdef USE_OPENGL
switch (imageHelper->useOpenGL())
{