mobile-widgets: replace qmlprefs::theme with qPrefDisplay::theme

Shortcut and use qPrefDisplay::theme() direct

Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
jan Iversen 2018-09-12 13:50:24 +02:00 committed by Dirk Hohndel
parent 51bc41b517
commit c9122283cc
4 changed files with 4 additions and 28 deletions

View file

@ -108,19 +108,6 @@ void QMLPrefs::setShowPin(bool enable)
emit showPinChanged();
}
const QString QMLPrefs::theme() const
{
return qPrefDisplay::theme();
}
void QMLPrefs::setTheme(QString theme)
{
qPrefDisplay::set_theme(theme);
emit themeChanged();
}
/*** public slot functions ***/
void QMLPrefs::cancelCredentialsPinSetup()
{