remove comment about settings in QApplicationPrivate::x11_apply_settings()

none of that is read or written to settings now

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2024-05-16 01:02:36 +03:00
parent bb6a1d74a7
commit 767e9e3fe6

View file

@ -532,23 +532,6 @@ Q_GUI_EXPORT void qt_x11_apply_settings_in_all_apps()
*/ */
bool QApplicationPrivate::x11_apply_settings() bool QApplicationPrivate::x11_apply_settings()
{ {
/*
Qt settings. This is now they are written into the datastream.
Palette / * - QPalette
font - QFont
libraryPath - QStringList
style - QString
doubleClickInterval - int
keyboardInputInterval - int
cursorFlashTime - int
wheelScrollLines - int
defaultCodec - QString
globalStrut/width - int
globalStrut/height - int
GUIEffects - QStringList
*/
QPalette pal = qt_guiPlatformPlugin()->palette(); QPalette pal = qt_guiPlatformPlugin()->palette();
if (pal != QPalette()) { if (pal != QPalette()) {
QApplication::setPalette(pal); QApplication::setPalette(pal);