[libcalamaresui] Add convenience name() to LocaleLabel

main
Adriaan de Groot
parent 0c868dbd17
commit 242d756731

@ -187,6 +187,11 @@ public:
return m_locale; return m_locale;
} }
QString LocaleLabel::name() const
{
return m_locale.name();
}
/** @brief Get a Qt locale for the given @p localeName /** @brief Get a Qt locale for the given @p localeName
* *
* This special-cases `sr@latin`, which is used as a translation * This special-cases `sr@latin`, which is used as a translation

Loading…
Cancel
Save