QCoreApplicationPrivate: move translation NSDM to improve packing

This way they aren't in the middle of a block of booleans.

Change-Id: Iba067f6f23db7c059cddfffdc27231dd09b6898e
Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
(cherry picked from commit 4daed2877251b861ce9f7ee5a09dc035518e1d9e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Thiago Macieira 2025-01-13 08:30:13 -08:00 committed by Qt Cherry-pick Bot
parent dc1a5ac3e4
commit 5dc84d6a21

View File

@ -135,12 +135,6 @@ public:
#endif
void appendApplicationPathToLibraryPaths(void);
#ifndef QT_NO_TRANSLATION
QTranslatorList translators;
QReadWriteLock translateMutex;
static bool isTranslatorInstalled(QTranslator *translator);
#endif
Type application_type = Tty;
QString cachedApplicationDirPath;
@ -159,6 +153,11 @@ public:
static bool is_app_running;
static bool is_app_closing;
#endif
#ifndef QT_NO_TRANSLATION
QTranslatorList translators;
QReadWriteLock translateMutex;
static bool isTranslatorInstalled(QTranslator *translator);
#endif
static bool setuidAllowed;
static uint attribs;