# HG changeset patch
# User unc0rr
# Date 1408724293 -14400
# Node ID 0e0c3936412f3536543ce81561c9e8806cf0e8de
# Parent c3daae6fd723242562e481e5e38d8f532d4648a0
Fix map contrainer widget look in russian locale
diff -r c3daae6fd723 -r 0e0c3936412f QTfrontend/ui/widget/mapContainer.cpp
--- a/QTfrontend/ui/widget/mapContainer.cpp Fri Aug 22 19:43:26 2014 +0400
+++ b/QTfrontend/ui/widget/mapContainer.cpp Fri Aug 22 20:18:13 2014 +0400
@@ -159,12 +159,12 @@
/* Map list label */
- lblMapList = new QLabel();
+ lblMapList = new QLabel(this);
rightLayout->addWidget(lblMapList, 0);
/* Static maps list */
- staticMapList = new QListView;
+ staticMapList = new QListView(this);
rightLayout->addWidget(staticMapList, 1);
m_childWidgets << staticMapList;
@@ -196,7 +196,7 @@
/* Generator style list */
- generationStyles = new QListWidget();
+ generationStyles = new QListWidget(this);
new QListWidgetItem(tr("All"), generationStyles);
new QListWidgetItem(tr("Small"), generationStyles);
new QListWidgetItem(tr("Medium"), generationStyles);
@@ -209,7 +209,7 @@
/* Maze style list */
- mazeStyles = new QListWidget();
+ mazeStyles = new QListWidget(this);
new QListWidgetItem(tr("Small tunnels"), mazeStyles);
new QListWidgetItem(tr("Medium tunnels"), mazeStyles);
new QListWidgetItem(tr("Large tunnels"), mazeStyles);
@@ -235,7 +235,7 @@
/* Theme chooser */
- btnTheme = new QPushButton();
+ btnTheme = new QPushButton(this);
btnTheme->setFlat(true);
connect(btnTheme, SIGNAL(clicked()), this, SLOT(showThemePrompt()));
m_childWidgets << btnTheme;
diff -r c3daae6fd723 -r 0e0c3936412f share/hedgewars/Data/Locale/hedgewars_ru.ts
--- a/share/hedgewars/Data/Locale/hedgewars_ru.ts Fri Aug 22 19:43:26 2014 +0400
+++ b/share/hedgewars/Data/Locale/hedgewars_ru.ts Fri Aug 22 20:18:13 2014 +0400
@@ -495,11 +495,11 @@
- Загрузить рисованную карту
+ Загрузить
- Редактировать рисованную карту
+ Редактировать
@@ -984,8 +984,6 @@
-
-
@@ -2336,8 +2334,6 @@
-
-