From 091625d0bab75566f98ff76c93c15ad69ee30a25 Mon Sep 17 00:00:00 2001 From: Patrick von Reth Date: Wed, 5 Feb 2014 18:18:49 +0100 Subject: [PATCH] use revision again to identify the cache --- src/core/plugins/plugincontainer.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/core/plugins/plugincontainer.cpp b/src/core/plugins/plugincontainer.cpp index f6efd62..f81dea0 100644 --- a/src/core/plugins/plugincontainer.cpp +++ b/src/core/plugins/plugincontainer.cpp @@ -119,7 +119,7 @@ void PluginContainer::updatePluginCache() if(sema.acquire()) { cache().sync(); - if(cache().value("buildtime").toString() == Version::buildTime()) + if(cache().value("version").toString() == Version::revision()) { sema.release(); return; @@ -181,8 +181,7 @@ const QHash PluginContainer::pluginCache(SnorePlugin { if(s_pluginCache.isEmpty()) { - QString buildTime = cache().value("buildtime").toString(); - if(buildTime != Version::buildTime()) + if(cache().value("version").toString() != Version::revision()) { updatePluginCache(); }