[keyboard] Rename mysterious Config::init() to descriptive name

This commit is contained in:
Adriaan de Groot 2020-10-27 15:48:51 +01:00
parent a940be2bb4
commit 679f613955
3 changed files with 3 additions and 3 deletions

View File

@ -127,7 +127,7 @@ findLayout( const KeyboardLayoutModel* klm, const QString& currentLayout )
}
void
Config::init()
Config::detectCurrentKeyboardLayout()
{
//### Detect current keyboard layout and variant
QString currentLayout;

View File

@ -31,7 +31,7 @@ class Config : public QObject
public:
Config( QObject* parent = nullptr );
void init();
void detectCurrentKeyboardLayout();
Calamares::JobList createJobs();
QString prettyStatus() const;

View File

@ -23,7 +23,7 @@ KeyboardQmlViewStep::KeyboardQmlViewStep( QObject* parent )
, m_config( new Config( this ) )
, m_nextEnabled( false )
{
m_config->init();
m_config->detectCurrentKeyboardLayout();
m_nextEnabled = true;
emit nextStatusChanged( m_nextEnabled );
}