diff options
author | Eike Ziller <eike.ziller@qt.io> | 2017-06-02 12:15:14 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2017-06-02 12:03:05 +0000 |
commit | 0b062584f46a8038b30c128709bd50fd7c380e2c (patch) | |
tree | 9ac31f8b52286f415f1e1a87e7725f53cce8911c /src/plugins/help | |
parent | fbd974bd134955566961770b189c433651cac393 (diff) | |
download | qt-creator-0b062584f46a8038b30c128709bd50fd7c380e2c.tar.gz |
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')
-rw-r--r-- | src/plugins/help/localhelpmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/help/localhelpmanager.cpp b/src/plugins/help/localhelpmanager.cpp index 5289209492..5e13d10b3e 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)); } |