mapeditor.cpp
branchrelease-1-12-maintained
changeset 66 c4893070033f
parent 65 a1f609eae872
child 70 e3a85616dbc5
     1.1 --- a/mapeditor.cpp	Mon Apr 06 08:40:11 2009 +0000
     1.2 +++ b/mapeditor.cpp	Wed Apr 08 12:02:07 2009 +0000
     1.3 @@ -1492,7 +1492,7 @@
     1.4  {
     1.5  	if (!mapChanged)
     1.6  	{
     1.7 -		autosaveTimer->start(settings.value("/mapeditor/autosave/ms/",300000).toInt());
     1.8 +		autosaveTimer->start(settings.value("/mainwindow/autosave/ms/",300000).toInt());
     1.9  		fileChangedTimer->start (3000);
    1.10  	}	
    1.11  	mapChanged=true;
    1.12 @@ -5327,7 +5327,7 @@
    1.13  	if (filePath.isEmpty()) return;
    1.14  
    1.15  
    1.16 -	if (mapUnsaved &&mapChanged && settings.value ("/mapeditor/autosave/use",true).toBool() )
    1.17 +	if (mapUnsaved &&mapChanged && settings.value ("/mainwindow/autosave/use",true).toBool() )
    1.18  	{
    1.19  		if (QFileInfo(filePath).lastModified()<=fileChangedTime) 
    1.20  			mainWindow->fileSave (this);