QGtk3PortalInterface: normalize SLOT argument
Non-normalized signatures passed to SIGNAL or SLOT macros require a normalization step before the actual connection can be made, which takes extra time and extra memory. Also, a normalized signature is generally smaller than a non-normalized one, so we save even in executable code size. Amends d0b4e8a601bc2f81ddb23c124acc99defa26c02f. Superseded by 2fe9eed3fdd5e7a7a3ebd16f5f683dc84a1eab4c, which, however, wasn't picked to 6.9 and 6.8, so this patch only targets those branches. Task-number: QTBUG-116197 Pick-to: 6.8 Change-Id: Ic937639b1e1583261e0def4d583e53ce03f4a7b9 Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
This commit is contained in:
parent
2fa78ca313
commit
1db01fc2d9
@ -99,7 +99,7 @@ void QGtk3PortalInterface::queryColorScheme() {
|
||||
QDBusConnection::sessionBus().connect(
|
||||
"org.freedesktop.portal.Desktop"_L1, "/org/freedesktop/portal/desktop"_L1,
|
||||
"org.freedesktop.portal.Settings"_L1, "SettingChanged"_L1, this,
|
||||
SLOT(settingChanged(QString, QString, QDBusVariant)));
|
||||
SLOT(settingChanged(QString,QString,QDBusVariant)));
|
||||
}
|
||||
|
||||
void QGtk3PortalInterface::settingChanged(const QString &group, const QString &key,
|
||||
|
Loading…
x
Reference in New Issue
Block a user