Const correctness.

main
Teo Mrnjavac 10 years ago
parent 997c61921e
commit 06b4443e80

@ -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…
Cancel
Save