mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 10:55:46 -05:00
Python-i18: avoid duplicate path entries
This commit is contained in:
parent
48cc1f0461
commit
22fd428664
1 changed files with 1 additions and 1 deletions
|
@ -254,7 +254,7 @@ gettext_languages()
|
|||
static void
|
||||
_add_localedirs(QStringList &pathList, const QString &candidate)
|
||||
{
|
||||
if (!candidate.isEmpty())
|
||||
if (!candidate.isEmpty() && !pathList.contains(candidate))
|
||||
{
|
||||
pathList.prepend(candidate);
|
||||
if (QDir(candidate).cd("lang"))
|
||||
|
|
Loading…
Add table
Reference in a new issue