Commit 108704d5 authored by Jan Möbius's avatar Jan Möbius

Removed check for Qt less than 5

parent 1556951b
......@@ -182,16 +182,11 @@ void DeserializeScreenshotMetadataPlugin::slotObjectMetadataDeserialized(
}
#if QT_VERSION >= 0x050000
void DeserializeScreenshotMetadataPlugin::slotObjectMetadataDeserializedJson(
QString object_name, QJsonDocument value) {
}
#endif
//-----------------------------------------------------------------------------
#if QT_VERSION < 0x050000
Q_EXPORT_PLUGIN2(DeserializeScreenshotMetadataPlugin, DeserializeScreenshotMetadataPlugin);
#endif
......@@ -80,9 +80,7 @@ class DeserializeScreenshotMetadataPlugin: public QObject,
Q_INTERFACES(ToolbarInterface)
Q_INTERFACES(MetadataInterface)
#if QT_VERSION >= 0x050000
Q_PLUGIN_METADATA(IID "org.OpenFlipper.Plugins.Plugin-DeserializeScreenshotMetadataPlugin")
#endif
signals:
void updateView();
......@@ -105,10 +103,8 @@ class DeserializeScreenshotMetadataPlugin: public QObject,
void slotGenericMetadataDeserialized(QString key, QString value);
void slotObjectMetadataDeserialized(QString object_name, QString value);
#if QT_VERSION >= 0x050000
void slotObjectMetadataDeserializedJson(
QString object_name, QJsonDocument value);
#endif
public:
......
Markdown is supported
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