Fix build.
--HG-- branch : develop
This commit is contained in:
parent
1847b068b5
commit
21faa55b63
|
@ -100,7 +100,7 @@ QString DefLabelLanguage()
|
||||||
QString def = qApp->ValentinaSettings()->GetLabelLanguage();
|
QString def = qApp->ValentinaSettings()->GetLabelLanguage();
|
||||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)
|
#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)
|
||||||
QStringList languages = VApplication::LabelLanguages();
|
QStringList languages = VApplication::LabelLanguages();
|
||||||
if (not QSet<QString>(languages.begin(), languages.end()).contains(def));
|
if (not QSet<QString>(languages.begin(), languages.end()).contains(def))
|
||||||
#else
|
#else
|
||||||
if (not VApplication::LabelLanguages().toSet().contains(def))
|
if (not VApplication::LabelLanguages().toSet().contains(def))
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user