mapeditor.cpp
changeset 679 d2f72e448522
parent 676 3dabc6424d73
child 680 8c6faaa1e2b1
     1.1 --- a/mapeditor.cpp	Mon Mar 03 09:25:40 2008 +0000
     1.2 +++ b/mapeditor.cpp	Mon Mar 03 09:25:40 2008 +0000
     1.3 @@ -1702,7 +1702,7 @@
     1.4  
     1.5  ErrorCode MapEditor::save (const SaveMode &savemode)
     1.6  {
     1.7 -	cout <<"ME::save zipped="<<zipped<<endl;
     1.8 +	cout <<"ME::save "<<qPrintable (mapName)<<"  zipped="<<zipped<<endl; // FIXME debug
     1.9  	// Create mapName and fileDir
    1.10  	makeSubDirs (fileDir);
    1.11  	QString tmpZipDir;
    1.12 @@ -1831,6 +1831,7 @@
    1.13  	return err;
    1.14  }
    1.15  
    1.16 +/* FIXME not needed any longer
    1.17  void MapEditor::setZipped (bool z)
    1.18  {
    1.19  	zipped=z;
    1.20 @@ -1840,6 +1841,7 @@
    1.21  {
    1.22  	return zipped;
    1.23  }
    1.24 +*/
    1.25  
    1.26  void MapEditor::print()
    1.27  {
    1.28 @@ -5211,11 +5213,11 @@
    1.29  {
    1.30  	QDateTime now=QDateTime().currentDateTime();
    1.31  	/* FIXME debug
    1.32 -	*/
    1.33  	cout << "ME::autosave checking "<<qPrintable(filePath)<<"...\n"; 
    1.34  	cout << "fsaved: "<<qPrintable (fileChangedTime.toString())<<endl;
    1.35  	cout << "  fnow: "<<qPrintable (QFileInfo(filePath).lastModified().toString())<<endl;
    1.36  	cout << "  time: "<<qPrintable (now.toString())<<endl;
    1.37 +	*/
    1.38  	// Disable autosave, while we have gone back in history
    1.39  	int redosAvail=undoSet.readNumEntry (QString("/history/redosAvail"));
    1.40  	if (redosAvail>0) return;