Commit 797eb914 authored by Jan Möbius's avatar Jan Möbius

Removed check for Qt less than 5

parent 733983c5
......@@ -49,11 +49,7 @@
#include "FileLgt.hh"
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#else
#include <QtGui>
#endif
void FileLightPlugin::initializePlugin() {
}
......@@ -306,8 +302,5 @@ bool FileLightPlugin::saveObject(int _id, QString _filename)
return true;
}
#if QT_VERSION < 0x050000
Q_EXPORT_PLUGIN2( filelightplugin , FileLightPlugin );
#endif
......@@ -68,9 +68,7 @@ class FileLightPlugin : public QObject, BaseInterface, FileInterface, LoadSaveIn
Q_INTERFACES(LoggingInterface)
Q_INTERFACES(BaseInterface)
Q_INTERFACES(ScriptInterface)
#if QT_VERSION >= 0x050000
Q_PLUGIN_METADATA(IID "org.OpenFlipper.Plugins.Plugin-FileLgt")
#endif
signals:
void openedFile( int _id );
void addEmptyObject( DataType _type, int& _id);
......
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