[libcalamares] Move const to a better spot
This commit is contained in:
parent
ebf8d63669
commit
d3d4690a81
@ -269,8 +269,8 @@ Settings::Settings( const QString& settingsFilePath, bool debugMode )
|
|||||||
s_instance = this;
|
s_instance = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
const bool
|
bool
|
||||||
Settings::isModuleEnabled( const QString& module )
|
Settings::isModuleEnabled( const QString& module ) const
|
||||||
{
|
{
|
||||||
// Iterate over the list of modules searching for a match
|
// Iterate over the list of modules searching for a match
|
||||||
for ( const auto& moduleInstance : qAsConst( m_moduleInstances ) )
|
for ( const auto& moduleInstance : qAsConst( m_moduleInstances ) )
|
||||||
|
@ -162,7 +162,7 @@ public:
|
|||||||
* full module key+id (e.g. packagechooser@packagechooser)
|
* full module key+id (e.g. packagechooser@packagechooser)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
const bool isModuleEnabled( const QString& module );
|
bool isModuleEnabled( const QString& module ) const;
|
||||||
|
|
||||||
/** @brief Global setting of disable-cancel: can't cancel ever. */
|
/** @brief Global setting of disable-cancel: can't cancel ever. */
|
||||||
bool disableCancel() const { return m_disableCancel; }
|
bool disableCancel() const { return m_disableCancel; }
|
||||||
|
Loading…
Reference in New Issue
Block a user