Load custom theme before initializing main window

Improves debug build startup time with custom themes
This commit is contained in:
jagannatharjun 2020-08-01 01:38:00 +05:30
parent b323c4e6be
commit 5b4a940842
3 changed files with 2 additions and 8 deletions

View file

@ -615,7 +615,6 @@ int Application::exec(const QStringList &params)
#else
UIThemeManager::initInstance();
m_window = new MainWindow;
UIThemeManager::instance()->applyStyleSheet();
#endif // DISABLE_GUI
m_running = true;