Commit 0b7fc7dc authored by Jan Möbius's avatar Jan Möbius

Removed check for Qt less than 5

parent ae8dc3a6
......@@ -49,11 +49,7 @@
#include "ui_rulerOptions.hh"
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#else
#include <QtGui>
#endif
class RulerOptions : public QWidget, public Ui::rulerOptions
......
......@@ -318,7 +318,4 @@ void RulerPlugin::slotViewChanged()
}
#if QT_VERSION < 0x050000
Q_EXPORT_PLUGIN2( rulerPlugin , RulerPlugin );
#endif
......@@ -75,9 +75,7 @@ class RulerPlugin : public QObject, BaseInterface, MouseInterface, PickingInterf
Q_INTERFACES(LoadSaveInterface)
Q_INTERFACES(OptionsInterface)
#if QT_VERSION >= 0x050000
Q_PLUGIN_METADATA(IID "org.OpenFlipper.Plugins.Plugin-Ruler")
#endif
signals:
void addToolbar(QToolBar *_toolbar);
......
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