summaryrefslogtreecommitdiffstats
path: root/examples/applicationmanager/custom-appman/custom-appman.cpp
diff options
context:
space:
mode:
authorRobert Griebl <robert.griebl@qt.io>2020-02-03 14:08:46 +0100
committerRobert Griebl <robert.griebl@qt.io>2020-02-03 16:41:42 +0100
commit7e28d06ef62f599a2bbb23f78fd970408348a93d (patch)
treeb02d422722454b8839ef63840d711974018b45e3 /examples/applicationmanager/custom-appman/custom-appman.cpp
parent1aacec3d1ccb2ccff8abdde57a95dc61d4035702 (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.cpp1
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 {