mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 09:25:36 -04:00
Const correctness.
This commit is contained in:
parent
997c61921e
commit
06b4443e80
2 changed files with 5 additions and 5 deletions
|
@ -306,14 +306,14 @@ ChoicePage::init( PartitionCoreModule* core, const OsproberEntryList& osproberEn
|
|||
|
||||
|
||||
bool
|
||||
ChoicePage::isNextEnabled()
|
||||
ChoicePage::isNextEnabled() const
|
||||
{
|
||||
return m_nextEnabled;
|
||||
}
|
||||
|
||||
|
||||
ChoicePage::Choice
|
||||
ChoicePage::currentChoice()
|
||||
ChoicePage::currentChoice() const
|
||||
{
|
||||
return m_choice;
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* === This file is part of Calamares - <http://github.com/calamares> ===
|
||||
*
|
||||
* Copyright 2014, Teo Mrnjavac <teo@kde.org>
|
||||
* Copyright 2014-2015, Teo Mrnjavac <teo@kde.org>
|
||||
*
|
||||
* Calamares is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -46,9 +46,9 @@ public:
|
|||
|
||||
void init( PartitionCoreModule* core, const OsproberEntryList& osproberEntries );
|
||||
|
||||
bool isNextEnabled();
|
||||
bool isNextEnabled() const;
|
||||
|
||||
Choice currentChoice();
|
||||
Choice currentChoice() const;
|
||||
|
||||
signals:
|
||||
void nextStatusChanged( bool );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue