This commit is contained in:
@@ -294,6 +294,9 @@ void ConfigFile::updateConfig(CONFIGSTATE myConfigState) {
|
|||||||
doc.SaveFile( configFileName );
|
doc.SaveFile( configFileName );
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(myConfigState == old) {
|
||||||
|
}
|
||||||
|
|
||||||
delete myQtToolsInterface;
|
delete myQtToolsInterface;
|
||||||
myQtToolsInterface = 0;
|
myQtToolsInterface = 0;
|
||||||
|
|||||||
@@ -27,8 +27,11 @@ using namespace std;
|
|||||||
joinNetworkGameDialogImpl::joinNetworkGameDialogImpl(QWidget *parent)
|
joinNetworkGameDialogImpl::joinNetworkGameDialogImpl(QWidget *parent)
|
||||||
: QDialog(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
|
//Profile Name darf nicht mit einer Zahl beginnen --> XML konform
|
||||||
QRegExp rx("[A-Z|a-z]+[A-Z|a-z|\\d]*");
|
QRegExp rx("[A-Z|a-z]+[A-Z|a-z|\\d]*");
|
||||||
|
|||||||
@@ -80,5 +80,22 @@
|
|||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
<resources/>
|
<resources/>
|
||||||
<connections/>
|
<connections>
|
||||||
|
<connection>
|
||||||
|
<sender>pushButton_cancel</sender>
|
||||||
|
<signal>clicked()</signal>
|
||||||
|
<receiver>waitForServerToStartGameDialog</receiver>
|
||||||
|
<slot>reject()</slot>
|
||||||
|
<hints>
|
||||||
|
<hint type="sourcelabel" >
|
||||||
|
<x>162</x>
|
||||||
|
<y>231</y>
|
||||||
|
</hint>
|
||||||
|
<hint type="destinationlabel" >
|
||||||
|
<x>64</x>
|
||||||
|
<y>233</y>
|
||||||
|
</hint>
|
||||||
|
</hints>
|
||||||
|
</connection>
|
||||||
|
</connections>
|
||||||
</ui>
|
</ui>
|
||||||
|
|||||||
Reference in New Issue
Block a user