mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-07 01:55:12 +00:00
Use packaged build in the snap package
This commit is contained in:
@@ -234,7 +234,11 @@ void NotificationData::setImage(const QString &imagePath) {
|
||||
|
||||
const QByteArray imageBytes(
|
||||
(const char*)image.constBits(),
|
||||
#if QT_VERSION < QT_VERSION_CHECK(5, 10, 0)
|
||||
image.byteCount());
|
||||
#else
|
||||
image.sizeInBytes());
|
||||
#endif
|
||||
|
||||
ImageData imageData;
|
||||
imageData.width = image.width();
|
||||
|
Reference in New Issue
Block a user