This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
***************************************************************************/
|
||||
#include "createnetworkgamedialogimpl.h"
|
||||
#include "session.h"
|
||||
// #include "configfile.h"
|
||||
#include "configfile.h"
|
||||
|
||||
createNetworkGameDialogImpl::createNetworkGameDialogImpl(QWidget *parent)
|
||||
: QDialog(parent)
|
||||
@@ -27,6 +27,17 @@ createNetworkGameDialogImpl::createNetworkGameDialogImpl(QWidget *parent)
|
||||
|
||||
setupUi(this);
|
||||
|
||||
//Formulare Füllen
|
||||
ConfigFile myConfig;
|
||||
|
||||
//Network Game Settings
|
||||
spinBox_quantityPlayers->setValue(myConfig.readConfigInt("NetNumberOfPlayers"));
|
||||
spinBox_startCash->setValue(myConfig.readConfigInt("NetStartCash"));
|
||||
spinBox_smallBlind->setValue(myConfig.readConfigInt("NetSmallBlind"));
|
||||
spinBox_handsBeforeRaiseSmallBlind->setValue(myConfig.readConfigInt("NetHandsBeforeRaiseSmallBlind"));
|
||||
spinBox_gameSpeed->setValue(myConfig.readConfigInt("NetGameSpeed"));
|
||||
lineEdit_serverPassword->setText(QString::fromStdString(myConfig.readConfigString("ServerPassword")));
|
||||
|
||||
connect( pushButton_cancel, SIGNAL( clicked() ), this, SLOT( cancel() ) );
|
||||
connect( pushButton_createGame, SIGNAL( clicked() ), this, SLOT( createGame() ) );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user