Fix build.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2020-01-12 19:52:10 +02:00
parent 21faa55b63
commit 84c5962c4e

View File

@ -4389,7 +4389,7 @@ void VPattern::SetLabelPrefix(const QString &prefix)
{ {
#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 (QSet<QString>(languages.begin(), languages.end()).contains(prefix)); if (QSet<QString>(languages.begin(), languages.end()).contains(prefix))
#else #else
if (VApplication::LabelLanguages().toSet().contains(prefix)) if (VApplication::LabelLanguages().toSet().contains(prefix))
#endif #endif