OSDN Git Service

fix DnD retrieval of some image formats
authorIvailo Monev <xakepa10@gmail.com>
Tue, 29 Aug 2023 15:48:34 +0000 (18:48 +0300)
committerIvailo Monev <xakepa10@gmail.com>
Tue, 29 Aug 2023 15:48:34 +0000 (18:48 +0300)
commitb3e52cdee4c2d7746c14300402a5906436565980
treee4637edaedd8d258b79f223179e83ddd7561dac0
parent47b262c71975e270ba3df583cba6af5683052ffd
fix DnD retrieval of some image formats

with the introduction of QImageWriter::formatForMimeType() and the related
QImageReader and QImageWriter methods the assumption that the image format
(plugin name) equals everything after the slash can be dismissed and
properly handled

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
src/gui/kernel/qdnd.cpp
src/gui/kernel/qdnd_x11.cpp