Fixed bug 341952 (corrupted layout after update)
authorinsilmaril
Mon Dec 17 15:40:14 2007 +0000 (2007-12-17)
changeset 635459f0a2d5485
parent 634 8d7a84789707
child 636 f83abc1f75b4
Fixed bug 341952 (corrupted layout after update)
mainwindow.cpp
ornamentedobj.cpp
version.h
     1.1 --- a/mainwindow.cpp	Mon Dec 17 15:36:18 2007 +0000
     1.2 +++ b/mainwindow.cpp	Mon Dec 17 15:40:14 2007 +0000
     1.3 @@ -1346,7 +1346,7 @@
     1.4  {
     1.5  	if (!settings.value( "/mainwindow/showTestMenu",false).toBool() ) 
     1.6  		return;
     1.7 -    QMenu *netMenu = menuBar()->addMenu(  "&Network" );
     1.8 +    QMenu *netMenu = menuBar()->addMenu(  "Network" );
     1.9  
    1.10  	QAction *a;
    1.11  
     2.1 --- a/ornamentedobj.cpp	Mon Dec 17 15:36:18 2007 +0000
     2.2 +++ b/ornamentedobj.cpp	Mon Dec 17 15:40:14 2007 +0000
     2.3 @@ -482,10 +482,13 @@
     2.4  	else
     2.5  	{
     2.6  		if (depth==1 || typeid (*this)==typeid (FloatImageObj))
     2.7 +		{
     2.8 +			if (relPos.x()==0 && relPos.y()==0)
     2.9 +				setRelPos();
    2.10  			posAttr=
    2.11  				attribut("relPosX",QString().setNum(relPos.x())) +
    2.12  				attribut("relPosY",QString().setNum(relPos.y())); 
    2.13 -		else
    2.14 +		} else
    2.15  			posAttr="";
    2.16  	}	
    2.17  
     3.1 --- a/version.h	Mon Dec 17 15:36:18 2007 +0000
     3.2 +++ b/version.h	Mon Dec 17 15:40:14 2007 +0000
     3.3 @@ -4,10 +4,10 @@
     3.4  #include <QString>
     3.5  
     3.6  #define __VYM_NAME "VYM"
     3.7 -#define __VYM_VERSION "1.11.3"
     3.8 +#define __VYM_VERSION "1.11.4"
     3.9  //#define __VYM_CODENAME "Codename: 1.10.0-RC-3"
    3.10  #define __VYM_CODENAME "Codename: development version"
    3.11 -#define __VYM_BUILD_DATE "2007-12-04"
    3.12 +#define __VYM_BUILD_DATE "2007-12-17"
    3.13  
    3.14  
    3.15  bool checkVersion(const QString &);