mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-31 15:46:16 +00:00
Amend 0c8eea0fe5
This commit is contained in:
parent
0c8eea0fe5
commit
07e20fbb2f
@ -58,11 +58,7 @@ void GuiLyXFiles::getFiles(QMap<QString, QString> & in, QString const type)
|
||||
string const system = addPath(package().system_support().absFileName(), fromqstr(type));
|
||||
|
||||
// First, query the current language subdir (except for English)
|
||||
#if QT_VERSION >= 0x050200
|
||||
QString const lang = languageCO->currentData().toString();
|
||||
#else
|
||||
QString const lang = languageCO->currentText();
|
||||
#endif
|
||||
QString const lang = languageCO->itemData(languageCO->currentIndex()).toString();
|
||||
if (!lang.startsWith("en")) {
|
||||
// First try with the full code
|
||||
dirs << toqstr(addPath(user, fromqstr(lang)));
|
||||
|
Loading…
Reference in New Issue
Block a user