Fix the emit
This commit is contained in:
parent
17265ad14c
commit
2bf1971ad4
@ -36,14 +36,15 @@ Locale::Locale(QObject* parent)
|
|||||||
|
|
||||||
bool Locale::setCountryDivisionCode(const QString &countryDivisionCode)
|
bool Locale::setCountryDivisionCode(const QString &countryDivisionCode)
|
||||||
{
|
{
|
||||||
|
bool ok = m_locale->setCountryDivisionCode(countryDivisionCode);
|
||||||
emit countryDivisionCodeChanged();
|
emit countryDivisionCodeChanged();
|
||||||
return m_locale->setCountryDivisionCode(countryDivisionCode);
|
return ok;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Locale::setCurrencyCode(const QString &newCurrencyCode)
|
void Locale::setCurrencyCode(const QString &newCurrencyCode)
|
||||||
{
|
{
|
||||||
emit currencyCodeChanged();
|
|
||||||
m_locale->setCurrencyCode(newCurrencyCode);
|
m_locale->setCurrencyCode(newCurrencyCode);
|
||||||
|
emit currencyCodeChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Locale::isApplicationTranslatedInto(const QString &lang)
|
bool Locale::isApplicationTranslatedInto(const QString &lang)
|
||||||
|
@ -850,17 +850,6 @@ public:
|
|||||||
*/
|
*/
|
||||||
int weekDayOfPray() const;
|
int weekDayOfPray() const;
|
||||||
|
|
||||||
/**
|
|
||||||
* What should I do with the above?
|
|
||||||
* It won't work in QML.
|
|
||||||
**/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns a pointer to the calendar system object.
|
|
||||||
*
|
|
||||||
* @return the current calendar system instance
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* Returns the type of Calendar System used in this Locale
|
* Returns the type of Calendar System used in this Locale
|
||||||
|
Loading…
Reference in New Issue
Block a user