1.1 --- a/mapeditor.cpp Mon Dec 01 16:44:35 2008 +0000
1.2 +++ b/mapeditor.cpp Wed Feb 25 12:44:10 2009 +0000
1.3 @@ -1806,6 +1806,7 @@
1.4 return aborted;
1.5 }
1.6
1.7 +// cout <<"ME::save filePath="<<filePath.toStdString()<<endl;
1.8 safeFilePath=filePath;
1.9 setFilePath (tmpZipDir+"/"+ mapName+ ".xml", safeFilePath);
1.10 } // zipped
1.11 @@ -1813,6 +1814,15 @@
1.12 // Create mapName and fileDir
1.13 makeSubDirs (fileDir);
1.14
1.15 +/*
1.16 + // FIXME testing
1.17 + cout <<"ME::save filePath="<<filePath.toStdString()<<endl;
1.18 + cout <<"ME::save saveFilePath="<<safeFilePath.toStdString()<<endl;
1.19 + cout <<"ME::save destPath="<<destPath.toStdString()<<endl;
1.20 + cout <<"ME::save mapName="<<mapName.toStdString()<<endl;
1.21 + cout <<"ME::save mapFileName="<<mapFileName.toStdString()<<endl;
1.22 +*/
1.23 +
1.24 QString saveFile;
1.25 if (savemode==CompleteMap || xelection.isEmpty())
1.26 {
1.27 @@ -1821,13 +1831,6 @@
1.28 mapChanged=false;
1.29 mapUnsaved=false;
1.30 autosaveTimer->stop();
1.31 - /*
1.32 - cout <<"ME::save filePath="<<filePath.toStdString()<<endl;
1.33 - cout <<"ME::save saveFilePath="<<safeFilePath.toStdString()<<endl;
1.34 - cout <<"ME::save destPath="<<destPath.toStdString()<<endl;
1.35 - cout <<"ME::save mapName="<<mapName.toStdString()<<endl;
1.36 - cout <<"ME::save mapFileName="<<mapFileName.toStdString()<<endl;
1.37 - */
1.38 }
1.39 else
1.40 {