diff --git a/src/app/valentina/xml/vpattern.cpp b/src/app/valentina/xml/vpattern.cpp index 7e6791a57..a13fcb5d8 100644 --- a/src/app/valentina/xml/vpattern.cpp +++ b/src/app/valentina/xml/vpattern.cpp @@ -100,7 +100,7 @@ QString DefLabelLanguage() QString def = qApp->ValentinaSettings()->GetLabelLanguage(); #if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0) QStringList languages = VApplication::LabelLanguages(); - if (not QSet(languages.begin(), languages.end()).contains(def)); + if (not QSet(languages.begin(), languages.end()).contains(def)) #else if (not VApplication::LabelLanguages().toSet().contains(def)) #endif