CMake: Swap USE_ and WITH_ for ENABLE_
Consistency.
This commit is contained in:
@@ -86,7 +86,7 @@ void QtHost::InstallTranslator()
|
||||
if (!has_base_ts)
|
||||
{
|
||||
// Try without the country suffix.
|
||||
const int index = language.lastIndexOf('_');
|
||||
const int index = language.lastIndexOf('-');
|
||||
if (index > 0)
|
||||
{
|
||||
base_path = QStringLiteral("%1/qt_%2.qm").arg(base_dir).arg(language.left(index));
|
||||
|
||||
Reference in New Issue
Block a user