StudioWelcome: Do not use TitilliumWeb as system font

Task-number: QDS-1081
Change-Id: I6c78fc0a95163f72168a29373a8e190d4bdf3167
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Thomas Hartmann
2021-10-12 15:17:08 +02:00
committed by Thomas Hartmann
parent 6e6753a064
commit ea8400a9ff

View File

@@ -340,11 +340,6 @@ bool StudioWelcomePlugin::initialize(const QStringList &arguments, QString *erro
qmlRegisterType<ProjectModel>("projectmodel", 1, 0, "ProjectModel"); qmlRegisterType<ProjectModel>("projectmodel", 1, 0, "ProjectModel");
qmlRegisterType<UsageStatisticPluginModel>("usagestatistics", 1, 0, "UsageStatisticModel"); qmlRegisterType<UsageStatisticPluginModel>("usagestatistics", 1, 0, "UsageStatisticModel");
m_welcomeMode = new WelcomeMode;
QFontDatabase::addApplicationFont(":/studiofonts/TitilliumWeb-Regular.ttf");
QFont systemFont("Titillium Web", QApplication::font().pointSize());
QApplication::setFont(systemFont);
m_removeSplashTimer.setSingleShot(true); m_removeSplashTimer.setSingleShot(true);
m_removeSplashTimer.setInterval(15000); m_removeSplashTimer.setInterval(15000);