From 990218c07e2052f7e75af42a965cfc84b36e8371 Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 12 Oct 2013 05:30:18 +0200 Subject: Fix Style issues * Change fixed width front from "courier" to "Monospace" * Remove foregroundcolor from SmTreeItem. Wasn't used nor needed, quite the opposite: it made SheMov deviate from the default style. --- helper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helper.cpp') diff --git a/helper.cpp b/helper.cpp index 102e0f3..3a1e780 100644 --- a/helper.cpp +++ b/helper.cpp @@ -291,7 +291,7 @@ namespace Helper { QImage retval(tf.fileName()); retval = retval.scaledToWidth(640); Duration dur(where); - QFont font("courier", 10); + QFont font("Monospace", 10); QFontMetrics fm(font); int width = fm.width(dur.toString()); int height = fm.height(); -- cgit v1.2.3-70-g09d2