mapcenterobj.cpp
changeset 395 7ced3733ba60
parent 388 3a58c9ef4a18
child 404 53efc2562a7d
     1.1 --- a/mapcenterobj.cpp	Tue Oct 24 15:36:38 2006 +0000
     1.2 +++ b/mapcenterobj.cpp	Mon Oct 30 12:39:37 2006 +0000
     1.3 @@ -187,39 +187,6 @@
     1.4  	version=s;
     1.5  }
     1.6  
     1.7 -bool MapCenterObj::checkVersion ()
     1.8 -{
     1.9 -	// returns true, if vym is able to read file regarding 
    1.10 -	// the version set with setVersion
    1.11 -	QString s1=version.section (".",0,0);
    1.12 -	QString s2=version.section (".",1,1);
    1.13 -	QString s3=version.section (".",2,2);
    1.14 -	bool ok;
    1.15 -	int vv1 =QString(__VYM_VERSION).section (".",0,0).toInt(&ok,10);
    1.16 -	int vv2 =QString(__VYM_VERSION).section (".",1,1).toInt(&ok,10);
    1.17 -	int vv3 =QString(__VYM_VERSION).section (".",2,2).toInt(&ok,10);
    1.18 -	int mv1=0;
    1.19 -	int mv2=0;
    1.20 -	int mv3=0;
    1.21 -	if (!s1.isEmpty() ) mv1=s1.toInt(&ok,10);
    1.22 -	if (!s2.isEmpty() ) mv2=s2.toInt(&ok,10);
    1.23 -	if (!s3.isEmpty() ) mv3=s3.toInt(&ok,10);
    1.24 -	
    1.25 -	if (vv1 > mv1)
    1.26 -		return true;
    1.27 -	if (vv1 < mv1)
    1.28 -		return false;
    1.29 -	if (vv2 > mv2)
    1.30 -		return true;
    1.31 -	if (vv2 < mv2)
    1.32 -		return false;
    1.33 -	if (vv3 > mv3)
    1.34 -		return true;
    1.35 -	if (vv3 < mv3)
    1.36 -		return false;
    1.37 -	return true;	
    1.38 -}
    1.39 -
    1.40  void MapCenterObj::setAuthor (const QString &s)
    1.41  {
    1.42  	author=s;