Commit 49c3ff8f authored by Jan Möbius's avatar Jan Möbius
Browse files

Removed check for Qt less than 5

parent d2bc1fb2
......@@ -49,10 +49,6 @@
#include "ComponentsPlugin.hh"
#if QT_VERSION >= 0x050000
#else
#include <QtGui>
#endif
const char *SPLIT_COMPONENTS = "SplitComponents";
const char *BIGGEST_COMPONENT = "ComponentsPluginBiggestComponent";
......@@ -219,6 +215,3 @@ void ComponentsPlugin::biggestComponent(QMouseEvent* _event)
}
}
#if QT_VERSION < 0x050000
Q_EXPORT_PLUGIN2( componentsplugin, ComponentsPlugin );
#endif
......@@ -77,9 +77,7 @@ class ComponentsPlugin : public QObject, BaseInterface, MouseInterface, PickingI
Q_INTERFACES( ScriptInterface )
#if QT_VERSION >= 0x050000
Q_PLUGIN_METADATA(IID "org.OpenFlipper.Plugins.Plugin-Components")
#endif
signals:
// BaseInterface
......
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