1
0
mirror of https://github.com/Swordfish90/cool-retro-term.git synced 2025-01-18 20:20:45 +00:00

Print system font log only when verbose is enabled.

This commit is contained in:
Filippo Scognamiglio 2019-01-19 21:08:57 +01:00
parent b8b2644969
commit cdd1488e13

View File

@ -236,7 +236,9 @@ QtObject{
function addSystemFonts() { function addSystemFonts() {
var families = monospaceSystemFonts; var families = monospaceSystemFonts;
for (var i = 0; i < families.length; i++) { for (var i = 0; i < families.length; i++) {
console.log("Adding system font: ", families[i]) if (verbose) {
console.log("Adding system font: ", families[i])
}
fontlist.append(convertToListElement(families[i])) fontlist.append(convertToListElement(families[i]))
} }
} }