From 06b4443e80334606526b606d561417f6831389b7 Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Wed, 15 Apr 2015 12:20:01 +0200 Subject: [PATCH] Const correctness. --- src/modules/partition/gui/ChoicePage.cpp | 4 ++-- src/modules/partition/gui/ChoicePage.h | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/modules/partition/gui/ChoicePage.cpp b/src/modules/partition/gui/ChoicePage.cpp index 849c929b6..12123800c 100644 --- a/src/modules/partition/gui/ChoicePage.cpp +++ b/src/modules/partition/gui/ChoicePage.cpp @@ -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; } diff --git a/src/modules/partition/gui/ChoicePage.h b/src/modules/partition/gui/ChoicePage.h index 0ff69f6bc..a8cbba23c 100644 --- a/src/modules/partition/gui/ChoicePage.h +++ b/src/modules/partition/gui/ChoicePage.h @@ -1,6 +1,6 @@ /* === This file is part of Calamares - === * - * Copyright 2014, Teo Mrnjavac + * Copyright 2014-2015, Teo Mrnjavac * * 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 );