Make QDBusObjectPath debug output also work with Qt6

This commit is contained in:
Volker Krause 2022-03-11 15:58:13 +01:00 committed by Vlad Zahorodnii
parent bc7324d258
commit ddaa2a3784

View file

@ -50,7 +50,7 @@ void ColordDevice::updateProfile()
CdProfileInterface profile(QStringLiteral("org.freedesktop.ColorManager"),
profiles.first().path(), QDBusConnection::systemBus());
if (!profile.isValid()) {
qCWarning(KWIN_COLORD) << profiles.first() << "is an invalid color profile";
qCWarning(KWIN_COLORD) << profiles.first().path() << "is an invalid color profile";
return;
}