QCoreApplicationPrivate: move translation NSDM to improve packing

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

Pick-to: 6.9
Change-Id: Iba067f6f23db7c059cddfffdc27231dd09b6898e
Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
This commit is contained in:
Thiago Macieira 2025-01-13 08:30:13 -08:00
parent ede95ef7e9
commit 4daed28772

View File

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