From d91409bb735139a9c8ebaa6289695354943c3415 Mon Sep 17 00:00:00 2001 From: Rob Emery Date: Thu, 10 Oct 2024 08:54:36 +0100 Subject: [PATCH] Switching back to comment block --- .../dbusnotificationslistener.cpp | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/plugins/sendnotifications/dbusnotificationslistener.cpp b/plugins/sendnotifications/dbusnotificationslistener.cpp index 97718bca4..0e95de0b8 100644 --- a/plugins/sendnotifications/dbusnotificationslistener.cpp +++ b/plugins/sendnotifications/dbusnotificationslistener.cpp @@ -10,7 +10,6 @@ #include #include -#include #include #include @@ -356,15 +355,15 @@ bool DBusNotificationsListener::parseImageDataArgument(const QVariant &argument, bool &hasAlpha, QByteArray &imageData) const { - return true; // FIXME - if (!argument.canConvert()) { - return false; - } - const QDBusArgument dbusArg = argument.value(); - dbusArg.beginStructure(); - dbusArg >> width >> height >> rowStride >> hasAlpha >> bitsPerSample >> channels >> imageData; - dbusArg.endStructure(); + // if (!argument.canConvert()) { + // return false; + // } + // const QDBusArgument dbusArg = argument.value(); + // dbusArg.beginStructure(); + // dbusArg >> width >> height >> rowStride >> hasAlpha >> bitsPerSample >> channels >> imageData; + // dbusArg.endStructure(); + return true; } QSharedPointer DBusNotificationsListener::iconForImageData(const QVariant &argument) const