From b6c60a498568e884ad10fd689a905bd13b21bb33 Mon Sep 17 00:00:00 2001 From: Atul R Date: Sun, 16 Feb 2020 01:50:18 +0100 Subject: [PATCH] Adds font default --- src/cpp/lib/core/Integration/integration.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/cpp/lib/core/Integration/integration.cpp b/src/cpp/lib/core/Integration/integration.cpp index 88330f5c8..de9825a67 100644 --- a/src/cpp/lib/core/Integration/integration.cpp +++ b/src/cpp/lib/core/Integration/integration.cpp @@ -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 \ No newline at end of file