Bugfix for autosave time release-1-12-maintained
authorinsilmaril
Wed, 08 Apr 2009 12:02:07 +0000
branchrelease-1-12-maintained
changeset 66c4893070033f
parent 65 a1f609eae872
child 67 6c6aa8d5e9b6
Bugfix for autosave time
mapeditor.cpp
tex/vym.changelog
version.h
     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);
     2.1 --- a/tex/vym.changelog	Mon Apr 06 08:40:11 2009 +0000
     2.2 +++ b/tex/vym.changelog	Wed Apr 08 12:02:07 2009 +0000
     2.3 @@ -1,3 +1,9 @@
     2.4 +-------------------------------------------------------------------
     2.5 +Wed Apr  8 13:54:05 CEST 2009 - uwedr@suse.de
     2.6 +
     2.7 +- Version: 1.12.2h
     2.8 +- Bugfix: autosave time was not read correctly from settings 
     2.9 +
    2.10  -------------------------------------------------------------------
    2.11  Mon Apr  6 10:38:58 CEST 2009 - uwedr@suse.de
    2.12  
     3.1 --- a/version.h	Mon Apr 06 08:40:11 2009 +0000
     3.2 +++ b/version.h	Wed Apr 08 12:02:07 2009 +0000
     3.3 @@ -7,7 +7,7 @@
     3.4  #define __VYM_VERSION "1.12.2h"
     3.5  #define __VYM_CODENAME "Maintenance Update "
     3.6  //#define __VYM_CODENAME "Codename: development version"
     3.7 -#define __VYM_BUILD_DATE "2009-04-06"
     3.8 +#define __VYM_BUILD_DATE "2009-04-08"
     3.9  
    3.10  
    3.11  bool checkVersion(const QString &);