mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 16:31:13 +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));
|
string const system = addPath(package().system_support().absFileName(), fromqstr(type));
|
||||||
|
|
||||||
// First, query the current language subdir (except for English)
|
// First, query the current language subdir (except for English)
|
||||||
#if QT_VERSION >= 0x050200
|
QString const lang = languageCO->itemData(languageCO->currentIndex()).toString();
|
||||||
QString const lang = languageCO->currentData().toString();
|
|
||||||
#else
|
|
||||||
QString const lang = languageCO->currentText();
|
|
||||||
#endif
|
|
||||||
if (!lang.startsWith("en")) {
|
if (!lang.startsWith("en")) {
|
||||||
// First try with the full code
|
// First try with the full code
|
||||||
dirs << toqstr(addPath(user, fromqstr(lang)));
|
dirs << toqstr(addPath(user, fromqstr(lang)));
|
||||||
|
Loading…
Reference in New Issue
Block a user