This commit is contained in:
doitux
2007-05-06 21:45:04 +00:00
parent c3e102f745
commit 7747ce0593
3 changed files with 25 additions and 2 deletions
@@ -27,8 +27,11 @@ using namespace std;
joinNetworkGameDialogImpl::joinNetworkGameDialogImpl(QWidget *parent)
: QDialog(parent)
{
bool toIntTrue;
setupUi(this);
setupUi(this);
spinBox_port->setValue(QString::fromUtf8(myConfig.readConfigString("ServerPort").c_str()).toInt(&toIntTrue, 10));
//Profile Name darf nicht mit einer Zahl beginnen --> XML konform
QRegExp rx("[A-Z|a-z]+[A-Z|a-z|\\d]*");