mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
Load custom theme before initializing main window
Improves debug build startup time with custom themes
This commit is contained in:
@@ -615,7 +615,6 @@ int Application::exec(const QStringList ¶ms)
|
||||
#else
|
||||
UIThemeManager::initInstance();
|
||||
m_window = new MainWindow;
|
||||
UIThemeManager::instance()->applyStyleSheet();
|
||||
#endif // DISABLE_GUI
|
||||
|
||||
m_running = true;
|
||||
|
||||
Reference in New Issue
Block a user