Commit e14b2e03 authored by Jan Möbius's avatar Jan Möbius

Removed check for Qt less than 5

parent 6afdf687
......@@ -59,10 +59,6 @@
#include "DecimaterPlugin.hh"
#if QT_VERSION >= 0x050000
#else
#include <QtGui>
#endif
#define DECIMATER "DecimaterData"
......@@ -1029,6 +1025,3 @@ void DecimaterPlugin::slotUpdateDistance()
tool_->cbDistance->setChecked (true);
}
#if QT_VERSION < 0x050000
Q_EXPORT_PLUGIN2(DecimaterPlugin , DecimaterPlugin );
#endif
......@@ -109,9 +109,7 @@ class DecimaterPlugin : public QObject, BaseInterface, ToolboxInterface, Logging
Q_INTERFACES(LoadSaveInterface)
Q_INTERFACES(ProcessInterface)
#if QT_VERSION >= 0x050000
Q_PLUGIN_METADATA(IID "org.OpenFlipper.Plugins.Plugin-Decimater")
#endif
signals:
// BaseInterface
......
......@@ -52,11 +52,7 @@
#include "ui_decimaterToolbar.hh"
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#else
#include <QtGui>
#endif
class DecimaterToolbarWidget : public QWidget, public Ui::DecimaterToolbar
......
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