Commit 50e2e5e0 authored by scuq's avatar scuq

fixed issue #31

parent cc0e905a
Pipeline #399 failed with stage
in 10 minutes and 1 second
......@@ -319,7 +319,7 @@ bool dialogChat::eventFilter(QObject *obj, QEvent *event)
qDebug() << this->clip->mimeData();
qDebug() << this->clip->text();
if (this->clip->image().sizeInBytes() > 0)
if (!this->clip->image().isNull())
{
QByteArray arr;
//QByteArray arr = QByteArray::fromRawData((const char*)this->clip->image().bits(), this->clip->image().byteCount());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment