diff -r f864a68e512c -r 92cff18a3ab6 QTfrontend/gamecfgwidget.cpp --- a/QTfrontend/gamecfgwidget.cpp Sun Sep 24 18:55:06 2006 +0000 +++ b/QTfrontend/gamecfgwidget.cpp Sun Sep 24 19:51:16 2006 +0000 @@ -34,10 +34,14 @@ #include #include "gamecfgwidget.h" -GameCFGWidget::GameCFGWidget(QWidget* parent) : QWidget(parent) +GameCFGWidget::GameCFGWidget(QWidget* parent) : + QWidget(parent), mainLayout(this) { CB_mode_Forts = new QCheckBox(this); CB_mode_Forts->setText(QCheckBox::tr("Forts mode")); + mainLayout.addWidget(CB_mode_Forts); + pMapContainer=new HWMapContainer(this); + mainLayout.addWidget(pMapContainer, 80); } quint32 GameCFGWidget::getGameFlags() @@ -47,3 +51,8 @@ result |= 1; return result; } + +QString GameCFGWidget::getCurrentSeed() const +{ + return pMapContainer->getCurrentSeed(); +}