diff options
author | Felix Geyer <debfx@fobos.de> | 2011-11-09 09:39:58 +0100 |
---|---|---|
committer | hjk <qthjk@ovi.com> | 2011-11-09 10:05:44 +0100 |
commit | 3b0f26e23136e60b61203c26075349f1e541f654 (patch) | |
tree | b4831620cc32692668966df295ffd2832d5acaa9 /src/plugins/help | |
parent | 243a677110a5f813e5d25dd9df8eb101729fc570 (diff) | |
download | qt-creator-3b0f26e23136e60b61203c26075349f1e541f654.tar.gz |
Fix qreal is not double.
Change-Id: Ife56e908a67da70ebe5af223b19fc8b99fc3a1d2
Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'src/plugins/help')
-rw-r--r-- | src/plugins/help/helpviewer_qwv.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/help/helpviewer_qwv.cpp b/src/plugins/help/helpviewer_qwv.cpp index c341c26ae9..22bbe4aca5 100644 --- a/src/plugins/help/helpviewer_qwv.cpp +++ b/src/plugins/help/helpviewer_qwv.cpp @@ -295,7 +295,7 @@ void HelpViewer::scaleUp() void HelpViewer::scaleDown() { - setTextSizeMultiplier(qMax(qreal(0.0), textSizeMultiplier() - 0.1)); + setTextSizeMultiplier(qMax(qreal(0.0), textSizeMultiplier() - qreal(0.1))); } void HelpViewer::resetScale() |