minimum version is MAJOR.0.0

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833999
This commit is contained in:
Aaron J. Seigo 2008-07-17 19:45:17 +00:00
parent b5c2d8f925
commit 910847c1f4

View File

@ -51,7 +51,7 @@ const char *versionString()
bool isPluginVersionCompatible(unsigned int version)
{
// we require PLASMA_VERSION_MAJOR and PLASMA_VERSION_MINOR
const quint32 minVersion = PLASMA_MAKE_VERSION(PLASMA_VERSION_MAJOR, PLASMA_VERSION_MINOR, 0);
const quint32 minVersion = PLASMA_MAKE_VERSION(PLASMA_VERSION_MAJOR, 0, 0);
const quint32 maxVersion = PLASMA_MAKE_VERSION(PLASMA_VERSION_MAJOR, PLASMA_VERSION_MINOR, 60);
if (version < minVersion || version > maxVersion) {