Fix build.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2020-01-12 19:19:30 +02:00
parent 1847b068b5
commit 21faa55b63

View File

@ -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