[qet] qet/qet: [5211] QFontDialog set default font to "Sans Serif", 9

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 5211
Author:   scorpio810
Date:     2018-01-08 20:28:01 +0100 (Mon, 08 Jan 2018)
Log Message:
-----------
QFontDialog set default font to "Sans Serif", 9

Modified Paths:
--------------
    trunk/sources/configpages.cpp

Modified: trunk/sources/configpages.cpp
===================================================================
--- trunk/sources/configpages.cpp	2018-01-05 05:31:27 UTC (rev 5210)
+++ trunk/sources/configpages.cpp	2018-01-08 19:28:01 UTC (rev 5211)
@@ -552,7 +552,7 @@
 {
 	bool ok;
 	QSettings settings;
-	QFont font = QFontDialog::getFont(&ok, QFont(), this);
+	QFont font = QFontDialog::getFont(&ok, QFont("Sans Serif", 9), this);
 	if (ok) {
 		settings.setValue("diagramitemfont", font.family());
 		settings.setValue("diagramitemsize", font.pointSize());
@@ -572,7 +572,7 @@
 {
 	bool ok;
 	QSettings settings;
-	QFont font = QFontDialog::getFont(&ok, QFont(), this);
+	QFont font = QFontDialog::getFont(&ok, QFont("Sans Serif", 9), this);
 	if (ok) {
 		settings.setValue("foliolistfont", font.family());
 		settings.setValue("foliolistsize", font.pointSize());


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/