diff options
author | Robert Griebl <robert.griebl@qt.io> | 2020-02-03 14:08:46 +0100 |
---|---|---|
committer | Robert Griebl <robert.griebl@qt.io> | 2020-02-03 16:41:42 +0100 |
commit | 7e28d06ef62f599a2bbb23f78fd970408348a93d (patch) | |
tree | b02d422722454b8839ef63840d711974018b45e3 /examples/applicationmanager/custom-appman/custom-appman.cpp | |
parent | 1aacec3d1ccb2ccff8abdde57a95dc61d4035702 (diff) |
Do the necessary changes to the locale on startup implicitly
Instead of requiring the boilerplate setup call to be copied into each and
every system-ui, we do the setup now implicitly in the Main constructor.
(Calling it explicitly beforehand doesn't hurt though)
Change-Id: I549288397d397330af1733f8982666c54b4724cd
Reviewed-by: Dominik Holland <dominik.holland@qt.io>
Diffstat (limited to 'examples/applicationmanager/custom-appman/custom-appman.cpp')
-rw-r--r-- | examples/applicationmanager/custom-appman/custom-appman.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/applicationmanager/custom-appman/custom-appman.cpp b/examples/applicationmanager/custom-appman/custom-appman.cpp index c02e91c0..85766d27 100644 --- a/examples/applicationmanager/custom-appman/custom-appman.cpp +++ b/examples/applicationmanager/custom-appman/custom-appman.cpp @@ -68,7 +68,6 @@ Q_DECL_EXPORT int main(int argc, char *argv[]) QCoreApplication::setApplicationVersion("0.1"); Logging::initialize(argc, argv); - PackageUtilities::ensureCorrectLocale(); Sudo::forkServer(Sudo::DropPrivilegesPermanently); try { |