--nowriteaccess first steps

This commit is contained in:
doitux
2007-05-16 09:03:12 +00:00
parent 846c9135bf
commit 58be35a777
@@ -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();