Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.4.1
-
None
-
e70d4b989903203e3309272666a42e4ee1846b6c
Description
The current implementation of the QFileSelector's QFileSelectorPrivate::updateSelector() function only considers the system locale and not the default locale which in many other cases is used instead because if can be changed by using QLocale::setDefault() and falls back to the system locale if not set.
Please consider the following adjustment:
// Original version
sharedData->staticSelectors << QLocale::system().name();
// Proposed version
sharedData->staticSelectors << QLocale().name();