aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/help/localhelpmanager.cpp
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2017-06-02 12:15:14 +0200
committerEike Ziller <eike.ziller@qt.io>2017-06-02 12:03:05 +0000
commit0b062584f46a8038b30c128709bd50fd7c380e2c (patch)
tree9ac31f8b52286f415f1e1a87e7725f53cce8911c /src/plugins/help/localhelpmanager.cpp
parentfbd974bd134955566961770b189c433651cac393 (diff)
Help: Get rid of compile warning
About possibly loss of precision. Change-Id: I555306210da23eda25bcddab84af476db7849b84 Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/help/localhelpmanager.cpp')
-rw-r--r--src/plugins/help/localhelpmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/help/localhelpmanager.cpp b/src/plugins/help/localhelpmanager.cpp
index 52892094928..5e13d10b3e6 100644
--- a/src/plugins/help/localhelpmanager.cpp
+++ b/src/plugins/help/localhelpmanager.cpp
@@ -266,7 +266,7 @@ QList<float> LocalHelpManager::lastShownPagesZoom()
void LocalHelpManager::setLastShownPagesZoom(const QList<qreal> &zoom)
{
const QStringList stringValues = Utils::transform(zoom,
- [](float z) { return QString::number(z); });
+ [](qreal z) { return QString::number(z); });
Core::ICore::settings()->setValue(kLastShownPagesZoomKey,
stringValues.join(Constants::ListSeparator));
}