--nowriteaccess first steps
This commit is contained in:
@@ -64,6 +64,8 @@ void joinNetworkGameDialogImpl::exec() {
|
|||||||
|
|
||||||
lineEdit_ipAddress->setFocus();
|
lineEdit_ipAddress->setFocus();
|
||||||
|
|
||||||
|
if (myConfig->readConfigInt("CLA_NoWriteAccess") == 0 ) {
|
||||||
|
//if discwrite-access
|
||||||
myServerProfilesFile = myConfig->readConfigString("DataDir")+"serverprofiles.xml";
|
myServerProfilesFile = myConfig->readConfigString("DataDir")+"serverprofiles.xml";
|
||||||
|
|
||||||
//Anlegen wenn noch nicht existiert!
|
//Anlegen wenn noch nicht existiert!
|
||||||
@@ -86,6 +88,7 @@ void joinNetworkGameDialogImpl::exec() {
|
|||||||
|
|
||||||
//Liste Füllen
|
//Liste Füllen
|
||||||
fillServerProfileList();
|
fillServerProfileList();
|
||||||
|
}
|
||||||
|
|
||||||
QDialog::exec();
|
QDialog::exec();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user