Add prettyStatus to Locale module.

This commit is contained in:
Teo Mrnjavac 2014-07-08 18:25:54 +02:00
parent e622fe4f99
commit f1ba2e1270
4 changed files with 32 additions and 0 deletions

View file

@ -149,3 +149,15 @@ LocalePage::init()
emit m_tzWidget->locationChanged( m_tzWidget->getCurrentLocation() );
}
QString
LocalePage::prettyStatus() const
{
QString status;
status += tr( "Set timezone to %1/%2.<br/>" )
.arg( m_regionCombo->currentText() )
.arg( m_timezoneCombo->currentText() );
return status;
}