This commit is contained in:
@@ -27,7 +27,7 @@ using namespace std;
|
||||
joinNetworkGameDialogImpl::joinNetworkGameDialogImpl(QWidget *parent, ConfigFile *c)
|
||||
: QDialog(parent), myConfig(c)
|
||||
{
|
||||
bool toIntTrue;
|
||||
|
||||
|
||||
setupUi(this);
|
||||
|
||||
@@ -44,6 +44,8 @@ joinNetworkGameDialogImpl::joinNetworkGameDialogImpl(QWidget *parent, ConfigFile
|
||||
|
||||
void joinNetworkGameDialogImpl::exec() {
|
||||
|
||||
bool toIntTrue;
|
||||
|
||||
spinBox_port->setValue(QString::fromUtf8(myConfig->readConfigString("ServerPort").c_str()).toInt(&toIntTrue, 10));
|
||||
|
||||
//Profile Name darf nicht mit einer Zahl beginnen --> XML konform
|
||||
|
||||
Reference in New Issue
Block a user