diff options
author | Albert Astals Cid <albert.astals.cid@kdab.com> | 2019-03-15 11:01:31 +0100 |
---|---|---|
committer | Albert Astals Cid <albert.astals.cid@kdab.com> | 2019-03-22 08:06:43 +0000 |
commit | 85a9009f258e130a7bd4aaaa252724ea5fb58e79 (patch) | |
tree | 7403588c5e7d28ae09668ebd8928adefd24903de /src/network | |
parent | b01248ebbd42dd05d45fa655852169978beec40e (diff) |
QPixmap: More safe failing if qApp is not a QGuiApplication
It can happen that QDataStream is fed a QVariant that contains a QPixmap
representation, that will make the application crash when trying to
restore it
This is specially important for cases in which applications expose dbus
interfaces with QVariantMaps
Change-Id: Ife4feaef30f30e7e27d88464bd6b2a247f743123
Reported-by: Fabian Vogt <fabian@ritter-vogt.de>
Reviewed-by: Fabian Vogt <fabian@ritter-vogt.de>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/network')
0 files changed, 0 insertions, 0 deletions