Adds font default

This commit is contained in:
Atul R 2020-02-16 01:50:18 +01:00
parent 9b4730cb9f
commit b6c60a4985

View File

@ -23,10 +23,10 @@ void integrate() {
app = new NApplication(qode::qode_argc, qode::qode_argv);
qode::InjectQodeRunLoop(&QtRunLoopWrapper);
// Other init settings
// QFont f = QApplication::font();
// if (f.defaultFamily().isEmpty()) {
// f.setFamily("Sans-Serif");
// QApplication::setFont(f);
// }
QFont f = QApplication::font();
if (f.defaultFamily().isEmpty()) {
f.setFamily("Sans-Serif");
QApplication::setFont(f);
}
}
} // namespace qodeIntegration