aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets/preferences/abstractpreferenceswidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/preferences/abstractpreferenceswidget.cpp')
-rw-r--r--desktop-widgets/preferences/abstractpreferenceswidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop-widgets/preferences/abstractpreferenceswidget.cpp b/desktop-widgets/preferences/abstractpreferenceswidget.cpp
index 1b2aeaae5..88228ee98 100644
--- a/desktop-widgets/preferences/abstractpreferenceswidget.cpp
+++ b/desktop-widgets/preferences/abstractpreferenceswidget.cpp
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: GPL-2.0
#include "abstractpreferenceswidget.h"
-AbstractPreferencesWidget::AbstractPreferencesWidget(const QString& name, const QIcon& icon, float positionHeight)
+AbstractPreferencesWidget::AbstractPreferencesWidget(const QString& name, const QIcon& icon, double positionHeight)
: QWidget(), _icon(icon), _name(name), _positionHeight(positionHeight)
{
}
@@ -16,7 +16,7 @@ QString AbstractPreferencesWidget::name() const
return _name;
}
-float AbstractPreferencesWidget::positionHeight() const
+double AbstractPreferencesWidget::positionHeight() const
{
return _positionHeight;
}