Fixed problem with images included in branches. Added missing adaptormodel.* files
5 bool checkVersion (const QString &v)
7 // returns true, if vym is able to read file regarding
8 // the version set with setVersion
9 return checkVersion (v,__VYM_VERSION);
13 bool checkVersion (const QString &v, const QString &d)
23 QRegExp rx("(\\d{1,3})\\.(\\d{1,3})\\.(\\d{1,3})");
24 int pos=rx.indexIn (v);
27 v1=rx.cap(1).toInt(&ok);
28 v2=rx.cap(2).toInt(&ok);
29 v3=rx.cap(3).toInt(&ok);
31 qWarning (QString ("Warning: Checking version failed for v=%1").arg(v));
36 d1=rx.cap(1).toInt(&ok);
37 d2=rx.cap(2).toInt(&ok);
38 d3=rx.cap(3).toInt(&ok);
40 qWarning (QString ("Warning: Checking version failed for d=%1").arg(d));