diff --git a/launcher/mainwindow_moc.cpp b/launcher/mainwindow_moc.cpp index bd001ce6c..6833cdf9c 100644 --- a/launcher/mainwindow_moc.cpp +++ b/launcher/mainwindow_moc.cpp @@ -169,9 +169,13 @@ void MainWindow::updateTranslation() QVector searchPaths; +#ifdef Q_OS_IOS + searchPaths.push_back(pathToQString(VCMIDirs::get().binaryPath() / "translation" / translationFile)); +#else for(auto const & string : VCMIDirs::get().dataPaths()) searchPaths.push_back(pathToQString(string / "launcher" / "translation" / translationFile)); searchPaths.push_back(pathToQString(VCMIDirs::get().userDataPath() / "launcher" / "translation" / translationFile)); +#endif for(auto const & string : boost::adaptors::reverse(searchPaths)) {