diff --git a/plugins/sendnotifications/dbusnotificationslistener.cpp b/plugins/sendnotifications/dbusnotificationslistener.cpp index b3fe47e37..a2e3ac688 100644 --- a/plugins/sendnotifications/dbusnotificationslistener.cpp +++ b/plugins/sendnotifications/dbusnotificationslistener.cpp @@ -383,7 +383,7 @@ QSharedPointer DBusNotificationsListener::iconForImageData(const QVar QImage image(reinterpret_cast(imageData.data()), width, height, rowStride, hasAlpha ? QImage::Format_ARGB32 : QImage::Format_RGB32); if (hasAlpha) { - image = image.rgbSwapped(); // RGBA --> ARGB + image = std::move(image).rgbSwapped(); // RGBA --> ARGB } QSharedPointer buffer = iconFromQImage(image);