Details
Description
This is bugging me for quite a long time complicating testing applications with different themes. I assume it's due to QPlatformThemeFactory::create and QGuiApplicationPrivate::platform_integration->createPlatformTheme being tried in separate for loops at https://github.com/qt/qtbase/blob/a2e60ebee3737548d1be14fdbb39b08c515ae602/src/gui/kernel/qguiapplication.cpp#L1365-L1391. If they were both tried in one for loop, this wouldn't be an issue.
Attachments
For Gerrit Dashboard: QTBUG-134702 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
635027,1 | qguiapplication.cpp / init_platform() - optimize ranged loop and style | tqtc/lts-6.5 | qt/tqtc-qtbase | Status: NEW | +2 | 0 |
635687,1 | QXdgDesktopPortalTheme: Refactor base theme creation loop | tqtc/lts-6.5 | qt/tqtc-qtbase | Status: NEW | 0 | 0 |