mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Get rid of an unneccessary #if
This commit is contained in:
parent
4d8786e4e9
commit
eb43e53372
@ -6,11 +6,7 @@ QT_BEGIN_NAMESPACE
|
|||||||
class HeadlessIntegrationPlugin : public QPlatformIntegrationPlugin
|
class HeadlessIntegrationPlugin : public QPlatformIntegrationPlugin
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
#if (QT_VERSION >= QT_VERSION_CHECK(5, 5, 0))
|
Q_PLUGIN_METADATA(IID QPlatformIntegrationFactoryInterface_iid FILE "headless.json")
|
||||||
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3" FILE "headless.json")
|
|
||||||
#else
|
|
||||||
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2" FILE "headless.json")
|
|
||||||
#endif
|
|
||||||
public:
|
public:
|
||||||
QPlatformIntegration *create(const QString&, const QStringList&);
|
QPlatformIntegration *create(const QString&, const QStringList&);
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user