[libcalamares] Adjust code to changed name
- renamed setting in the configuration file, but not in the code - add documentation to getters
This commit is contained in:
parent
4ceaa5ffe7
commit
d506296aa7
@ -207,7 +207,7 @@ Settings::Settings( const QString& settingsFilePath,
|
||||
m_doChroot = !requireBool( config, "dont-chroot", false );
|
||||
m_isSetupMode = requireBool( config, "oem-setup", !m_doChroot );
|
||||
m_disableCancel = requireBool( config, "disable-cancel", false );
|
||||
m_dontCancel = requireBool( config, "dont-cancel", false );
|
||||
m_dontCancel = requireBool( config, "disable-cancel-during-exec", false );
|
||||
}
|
||||
catch ( YAML::Exception& e )
|
||||
{
|
||||
|
@ -69,8 +69,9 @@ public:
|
||||
*/
|
||||
bool isSetupMode() const { return m_isSetupMode; }
|
||||
|
||||
/** @brief Global setting of disable-cancel: can't cancel ever. */
|
||||
bool disableCancel() const;
|
||||
|
||||
/** @brief Temporary setting of disable-cancel: can't cancel during exec. */
|
||||
bool dontCancel() const;
|
||||
|
||||
private:
|
||||
|
Loading…
Reference in New Issue
Block a user