diff --git a/plugins/sendnotifications/dbusnotificationslistener.cpp b/plugins/sendnotifications/dbusnotificationslistener.cpp index 2c5678dc2..150ae90ae 100644 --- a/plugins/sendnotifications/dbusnotificationslistener.cpp +++ b/plugins/sendnotifications/dbusnotificationslistener.cpp @@ -10,6 +10,7 @@ #include #include +#include #include #include @@ -355,15 +356,15 @@ bool DBusNotificationsListener::parseImageDataArgument(const QVariant &argument, bool &hasAlpha, QByteArray &imageData) const { - // FIXME - // if (!argument.canConvert()) { - // return false; - // } - // const QDBusArgument dbusArg = argument.value(); - // dbusArg.beginStructure(); - // dbusArg >> width >> height >> rowStride >> hasAlpha >> bitsPerSample >> channels >> imageData; - // dbusArg.endStructure(); 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(); } QSharedPointer DBusNotificationsListener::iconForImageData(const QVariant &argument) const