--- a/QTfrontend/ui/page/pageeditteam.cpp Wed Oct 26 01:50:08 2011 +0200
+++ b/QTfrontend/ui/page/pageeditteam.cpp Wed Oct 26 01:51:42 2011 +0200
@@ -80,7 +80,7 @@
btnRandomHogName[i] = addButton(":/res/dice.png", GBHLayout, i, 3, 1, 1, true);
}
- btnRandomTeam = addButton(QPushButton::tr("Random Team"), GBHLayout, 9, 1);
+ btnRandomTeam = addButton(QPushButton::tr("Random Team"), GBHLayout, 9, 0);
vbox1->addWidget(GBoxHedgehogs);
--- a/QTfrontend/ui/widget/FreqSpinBox.h Wed Oct 26 01:50:08 2011 +0200
+++ b/QTfrontend/ui/widget/FreqSpinBox.h Wed Oct 26 01:51:42 2011 +0200
@@ -55,4 +55,4 @@
};
-#endif // FREQSPINBOX_H
+#endif // HEDGEWARS_FREQSPINBOX_H
--- a/QTfrontend/util/namegen.cpp Wed Oct 26 01:50:08 2011 +0200
+++ b/QTfrontend/util/namegen.cpp Wed Oct 26 01:51:42 2011 +0200
@@ -247,7 +247,7 @@
"Graphics/Graves",
QDir::Files,
QStringList("*.png")
- ).replaceInStrings(QRegExp("^(.*)\\.png"), "\\1")
+ ).replaceInStrings(QRegExp("\\.png$"), "")
);
if(Graves.size()==0)
@@ -269,7 +269,7 @@
"Forts",
QDir::Files,
QStringList("*L.png")
- ).replaceInStrings(QRegExp("^(.*)L\\.png"), "\\1")
+ ).replaceInStrings(QRegExp("L\\.png$"), "")
);
if(Forts.size()==0)