[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:
Adriaan de Groot 2019-04-21 17:15:53 +02:00
parent 4ceaa5ffe7
commit d506296aa7
2 changed files with 3 additions and 2 deletions

View File

@ -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 )
{

View File

@ -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: