aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Hartmann <thomas.hartmann@qt.io>2021-12-08 12:57:40 +0100
committerThomas Hartmann <thomas.hartmann@qt.io>2021-12-08 11:58:18 +0000
commiteb3819d60387522f8085a3840985e65243b77ec7 (patch)
tree03cf979bb0a421552a169052c7622a9c890ea00b
parent6b01efb93f353598cea246393a4db7ec0035e499 (diff)
Register TitilliumWeb-Regular
Change-Id: I0014bb5e315311c84c2fc301e1c3dba67fc64af1 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
-rw-r--r--src/plugins/studiowelcome/studiowelcomeplugin.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/studiowelcome/studiowelcomeplugin.cpp b/src/plugins/studiowelcome/studiowelcomeplugin.cpp
index 2ea431b012..92531da324 100644
--- a/src/plugins/studiowelcome/studiowelcomeplugin.cpp
+++ b/src/plugins/studiowelcome/studiowelcomeplugin.cpp
@@ -360,6 +360,8 @@ void StudioWelcomePlugin::extensionsInitialized()
// Enable QDS new project dialog
Core::ICore::setNewDialogFactory([](QWidget *parent) { return new QdsNewDialog(parent); });
+ return;
+
if (Utils::CheckableMessageBox::shouldAskAgain(Core::ICore::settings(),
DO_NOT_SHOW_SPLASHSCREEN_AGAIN_KEY)) {
connect(Core::ICore::instance(), &Core::ICore::coreOpened, this, [this] {
@@ -448,6 +450,8 @@ WelcomeMode::WelcomeMode()
setContextHelp("Qt Design Studio Manual");
setContext(Core::Context(Core::Constants::C_WELCOME_MODE));
+ QFontDatabase::addApplicationFont(":/studiofonts/TitilliumWeb-Regular.ttf");
+
m_modeWidget = new QQuickWidget;
m_modeWidget->setResizeMode(QQuickWidget::SizeRootObjectToView);
QmlDesigner::Theme::setupTheme(m_modeWidget->engine());