From 89e36fe288486dd3222a17c47894e081a7928648 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20M=C3=B6bius?= Date: Mon, 16 Apr 2018 11:25:30 +0200 Subject: [PATCH] Removed check for Qt less than 5 --- FileOFF.cc | 7 ------- FileOFF.hh | 2 -- 2 files changed, 9 deletions(-) diff --git a/FileOFF.cc b/FileOFF.cc index 703b5b7..5e7e7f5 100644 --- a/FileOFF.cc +++ b/FileOFF.cc @@ -49,10 +49,6 @@ #include "FileOFF.hh" -#if QT_VERSION >= 0x050000 -#else - #include -#endif #include #include @@ -1501,8 +1497,5 @@ void FileOFFPlugin::slotSaveDefault() { OpenFlipperSettings().setValue( "FileOff/Save/TexCoords", saveTexCoords_->isChecked() ); } -#if QT_VERSION < 0x050000 - Q_EXPORT_PLUGIN2( fileoffplugin , FileOFFPlugin ); -#endif diff --git a/FileOFF.hh b/FileOFF.hh index 02923d4..ee4e53b 100644 --- a/FileOFF.hh +++ b/FileOFF.hh @@ -80,9 +80,7 @@ class FileOFFPlugin : public QObject, BaseInterface, FileInterface, LoadSaveInte Q_INTERFACES(BaseInterface) Q_INTERFACES(ScriptInterface) Q_INTERFACES(StatusbarInterface) -#if QT_VERSION >= 0x050000 Q_PLUGIN_METADATA(IID "org.OpenFlipper.Plugins.Plugin-FileOFF") -#endif signals: void openedFile( int _id ); void addEmptyObject( DataType _type, int& _id); -- GitLab