diff widgets/CSVFormatDialog.cpp @ 908:4a578a360011 cxx11

More type fixes
author Chris Cannam
date Tue, 10 Mar 2015 13:22:10 +0000
parents d854c72dcaa1
children 50be12cf2802
line wrap: on
line diff
--- a/widgets/CSVFormatDialog.cpp	Tue Mar 10 10:31:27 2015 +0000
+++ b/widgets/CSVFormatDialog.cpp	Tue Mar 10 13:22:10 2015 +0000
@@ -62,7 +62,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");