aboutsummaryrefslogtreecommitdiffstats
path: root/profile-widget/profilewidget2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'profile-widget/profilewidget2.cpp')
-rw-r--r--profile-widget/profilewidget2.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/profile-widget/profilewidget2.cpp b/profile-widget/profilewidget2.cpp
index 043c39258..049df247b 100644
--- a/profile-widget/profilewidget2.cpp
+++ b/profile-widget/profilewidget2.cpp
@@ -1321,7 +1321,7 @@ void ProfileWidget2::setPlanState()
}
#endif
-bool ProfileWidget2::isPlanner()
+bool ProfileWidget2::isPlanner() const
{
return currentState == PLAN;
}
@@ -1608,7 +1608,7 @@ void ProfileWidget2::changeGas(int tank, int seconds)
}
#endif
-bool ProfileWidget2::getPrintMode()
+bool ProfileWidget2::getPrintMode() const
{
return printMode;
}
@@ -1641,7 +1641,7 @@ void ProfileWidget2::setFontPrintScale(double scale)
emit fontPrintScaleChanged(scale);
}
-double ProfileWidget2::getFontPrintScale()
+double ProfileWidget2::getFontPrintScale() const
{
if (printMode)
return fontPrintScale;