Commit d09a316a authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix compile with unity cmake support

parent 42131120
Pipeline #81057 passed with stage
in 46 minutes and 15 seconds
......@@ -31,7 +31,7 @@ public:
namespace
{
QString pluginVersion()
QString pluginEditorInitVersion()
{
return QStringLiteral("1.0");
}
......@@ -96,7 +96,7 @@ void PluginEditorInitManagerPrivate::initializePlugins()
info.metaDataFileNameBaseName = QFileInfo(data.fileName()).baseName();
info.metaDataFileName = data.fileName();
info.data = data;
if (pluginVersion() == data.version()) {
if (pluginEditorInitVersion() == data.version()) {
info.plugin = nullptr;
mPluginList.push_back(info);
} else {
......
......@@ -23,11 +23,9 @@
#include <grantlee/templateloader.h>
#include <QGuiApplication>
#ifndef COMPILE_WITH_UNITY_CMAKE_SUPPORT
Q_DECLARE_METATYPE(GpgME::DecryptionResult::Recipient)
Q_DECLARE_METATYPE(const QGpgME::Protocol *)
Q_DECLARE_METATYPE(GpgME::Key)
#endif
// Read-only introspection of GpgME::DecryptionResult::Recipient object.
GRANTLEE_BEGIN_LOOKUP(GpgME::DecryptionResult::Recipient)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment