Fixed broken compatible with higher Qt versions.
--HG-- branch : develop
This commit is contained in:
parent
8eef5db927
commit
96b2d644e1
|
@ -30,7 +30,6 @@
|
||||||
#define VMARGINS_H
|
#define VMARGINS_H
|
||||||
|
|
||||||
#include <QtGlobal>
|
#include <QtGlobal>
|
||||||
#include <QMetaType>
|
|
||||||
|
|
||||||
#if QT_VERSION < QT_VERSION_CHECK(5, 3, 0)
|
#if QT_VERSION < QT_VERSION_CHECK(5, 3, 0)
|
||||||
# include "backport/qmarginsf.h"
|
# include "backport/qmarginsf.h"
|
||||||
|
@ -38,6 +37,4 @@
|
||||||
# include <QMargins>
|
# include <QMargins>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
Q_DECLARE_METATYPE(QMarginsF)
|
|
||||||
|
|
||||||
#endif // VMARGINS_H
|
#endif // VMARGINS_H
|
||||||
|
|
|
@ -43,6 +43,8 @@
|
||||||
# include <QtMath>
|
# include <QtMath>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Q_DECLARE_METATYPE(QMarginsF)
|
||||||
|
|
||||||
const QString VSettings::SettingConfigurationLabelLanguage = QStringLiteral("configuration/label_language");
|
const QString VSettings::SettingConfigurationLabelLanguage = QStringLiteral("configuration/label_language");
|
||||||
|
|
||||||
const QString VSettings::SettingPathsPattern = QStringLiteral("paths/pattern");
|
const QString VSettings::SettingPathsPattern = QStringLiteral("paths/pattern");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user