Switching back to comment block
This commit is contained in:
parent
a2d430c95d
commit
d91409bb73
1 changed files with 8 additions and 9 deletions
|
@ -10,7 +10,6 @@
|
||||||
#include <limits>
|
#include <limits>
|
||||||
|
|
||||||
#include <QBuffer>
|
#include <QBuffer>
|
||||||
#include <QDBusArgument>
|
|
||||||
#include <QFile>
|
#include <QFile>
|
||||||
#include <QImage>
|
#include <QImage>
|
||||||
|
|
||||||
|
@ -356,15 +355,15 @@ bool DBusNotificationsListener::parseImageDataArgument(const QVariant &argument,
|
||||||
bool &hasAlpha,
|
bool &hasAlpha,
|
||||||
QByteArray &imageData) const
|
QByteArray &imageData) const
|
||||||
{
|
{
|
||||||
return true;
|
|
||||||
// FIXME
|
// FIXME
|
||||||
if (!argument.canConvert<QDBusArgument>()) {
|
// if (!argument.canConvert<QDBusArgument>()) {
|
||||||
return false;
|
// return false;
|
||||||
}
|
// }
|
||||||
const QDBusArgument dbusArg = argument.value<QDBusArgument>();
|
// const QDBusArgument dbusArg = argument.value<QDBusArgument>();
|
||||||
dbusArg.beginStructure();
|
// dbusArg.beginStructure();
|
||||||
dbusArg >> width >> height >> rowStride >> hasAlpha >> bitsPerSample >> channels >> imageData;
|
// dbusArg >> width >> height >> rowStride >> hasAlpha >> bitsPerSample >> channels >> imageData;
|
||||||
dbusArg.endStructure();
|
// dbusArg.endStructure();
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
QSharedPointer<QIODevice> DBusNotificationsListener::iconForImageData(const QVariant &argument) const
|
QSharedPointer<QIODevice> DBusNotificationsListener::iconForImageData(const QVariant &argument) const
|
||||||
|
|
Loading…
Reference in a new issue