Mercurial > hg > svgui
diff widgets/CSVFormatDialog.cpp @ 946:36cddc3de023 alignment_view
Merge from default branch
author | Chris Cannam |
---|---|
date | Mon, 20 Apr 2015 09:19:52 +0100 |
parents | 50be12cf2802 |
children | 2633a1d73e39 |
line wrap: on
line diff
--- a/widgets/CSVFormatDialog.cpp Thu Jan 15 16:00:53 2015 +0000 +++ b/widgets/CSVFormatDialog.cpp Mon Apr 20 09:19:52 2015 +0100 @@ -30,6 +30,7 @@ #include <QDialogButtonBox> #include <iostream> +#include <cmath> #include "base/Debug.h" @@ -62,7 +63,7 @@ exampleFrame->setPalette(palette); QFont fp; - fp.setPointSize(fp.pointSize() * 0.9); + fp.setPointSize(int(floor(fp.pointSize() * 0.9))); // fp.setFixedPitch(true); // fp.setStyleHint(QFont::TypeWriter); // fp.setFamily("Monospaced");