[keyboard] Rename mysterious Config::init() to descriptive name
This commit is contained in:
parent
a940be2bb4
commit
679f613955
@ -127,7 +127,7 @@ findLayout( const KeyboardLayoutModel* klm, const QString& currentLayout )
|
||||
}
|
||||
|
||||
void
|
||||
Config::init()
|
||||
Config::detectCurrentKeyboardLayout()
|
||||
{
|
||||
//### Detect current keyboard layout and variant
|
||||
QString currentLayout;
|
||||
|
@ -31,7 +31,7 @@ class Config : public QObject
|
||||
public:
|
||||
Config( QObject* parent = nullptr );
|
||||
|
||||
void init();
|
||||
void detectCurrentKeyboardLayout();
|
||||
|
||||
Calamares::JobList createJobs();
|
||||
QString prettyStatus() const;
|
||||
|
@ -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 );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user