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

Removed check for Qt less than 5

parent d4c7085c
......@@ -50,10 +50,6 @@
#include "FileHeightFieldImage.hh"
#include "ImageDialog.hh"
#if QT_VERSION >= 0x050000
#else
#include <QtGui>
#endif
void FileHeightFieldPNGPlugin::initializePlugin() {
}
......@@ -226,8 +222,5 @@ bool FileHeightFieldPNGPlugin::saveObject(int _id, QString _filename) {
return false;
}
#if QT_VERSION < 0x050000
Q_EXPORT_PLUGIN2( fileheightfieldPpngplugin , FileHeightFieldPNGPlugin );
#endif
......@@ -64,9 +64,7 @@ class FileHeightFieldPNGPlugin : public QObject, BaseInterface, FileInterface, L
Q_INTERFACES(LoggingInterface)
Q_INTERFACES(BaseInterface)
#if QT_VERSION >= 0x050000
Q_PLUGIN_METADATA(IID "org.OpenFlipper.Plugins.Plugin-FileHeightFieldImage")
#endif
signals:
void openedFile( int _id );
......
......@@ -50,11 +50,7 @@
#include "ui_ImageDialog.hh"
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#else
#include <QtGui>
#endif
class ImageDialog : public QDialog, public Ui::ImageDialog
......
......@@ -49,11 +49,7 @@
#include "QClickableLabel.hh"
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#else
#include <QtGui>
#endif
QClickableLabel::QClickableLabel(QWidget *_parent) :
......
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