[app] Fixed check for null image in setClipboardImage
This commit is contained in:
parent
53233b17b1
commit
2aa3b9e568
1 changed files with 2 additions and 2 deletions
|
@ -167,7 +167,7 @@ BooksDialogManager::setClipboardImage(
|
|||
{
|
||||
// May be invoked on non-UI thread
|
||||
QImage image(*((const ZLQtImageData&)imageData).image());
|
||||
if (image.isNull()) {
|
||||
if (!image.isNull()) {
|
||||
HDEBUG(image.width() << "x" << image.height());
|
||||
Q_EMIT copyImageToClipboard(image);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue