Commit 674a6a61 authored by Jan Möbius's avatar Jan Möbius

Removed check for Qt less than 5

parent 6cf58d2c
......@@ -49,11 +49,7 @@
#include "ui_colorOptions.hh"
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#else
#include <QtGui>
#endif
class ColorOptions : public QWidget, public Ui::colorOptions
......
......@@ -49,10 +49,6 @@
#include "ColorPlugin.hh"
#if QT_VERSION >= 0x050000
#else
#include <QtGui>
#endif
#include <OpenFlipper/BasePlugin/PluginFunctions.hh>
#include <OpenFlipper/common/GlobalOptions.hh>
......@@ -640,8 +636,5 @@ std::cerr << "save to ini file\n";
_ini.add_entry("ColorPlugin","lineWidthPresentation", lineWidthPresentation_ );
}
#if QT_VERSION < 0x050000
Q_EXPORT_PLUGIN2( colorplugin , ColorPlugin );
#endif
......@@ -80,9 +80,7 @@ class ColorPlugin : public QObject, BaseInterface, MenuInterface, ScriptInterfac
Q_INTERFACES(OptionsInterface)
Q_INTERFACES(INIInterface)
#if QT_VERSION >= 0x050000
Q_PLUGIN_METADATA(IID "org.OpenFlipper.Plugins.Plugin-Color")
#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