2
0
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:
Ilya Fedin
2020-01-25 09:44:58 +04:00
committed by John Preston
parent f0de8131ec
commit 9536a3c98e
10 changed files with 286 additions and 849 deletions

View File

@@ -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();