mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-30 11:38:50 -07:00
Load custom theme before initializing main window
Improves debug build startup time with custom themes
This commit is contained in:
parent
b323c4e6be
commit
5b4a940842
3 changed files with 2 additions and 8 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue