From c387406230266a5537838fbe8b8f0f3f749b0a0d Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Mon, 9 Aug 2010 20:48:46 +0000 Subject: [PATCH] if unversioned, let it through based on trust svn path=/trunk/KDE/kdelibs/; revision=1161161 --- version.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/version.cpp b/version.cpp index ffb10166c..cc745d6b9 100644 --- a/version.cpp +++ b/version.cpp @@ -50,6 +50,11 @@ const char *versionString() bool isPluginVersionCompatible(unsigned int version) { + if (version == quint32(-1)) { + // unversioned, just let it through + return true; + } + // we require PLASMA_VERSION_MAJOR and PLASMA_VERSION_MINOR const quint32 minVersion = PLASMA_MAKE_VERSION(PLASMA_VERSION_MAJOR, 0, 0); const quint32 maxVersion = PLASMA_MAKE_VERSION(PLASMA_VERSION_MAJOR, PLASMA_VERSION_MINOR, 60);