aboutsummaryrefslogtreecommitdiff
path: root/lib/converters.h
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-07-18 18:22:28 +0200
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-07-18 18:22:28 +0200
commit004ebf8d5ba095ca1b11e30d86cedc2ff8c0cfe7 (patch)
treefec2b2084d884bd2c0a0ba44ef85b2874c80b230 /lib/converters.h
parente3bdbc84ec5ada04e436dba9067d902e2c6c030a (diff)
downloadlibquotient-004ebf8d5ba095ca1b11e30d86cedc2ff8c0cfe7.tar.gz
libquotient-004ebf8d5ba095ca1b11e30d86cedc2ff8c0cfe7.zip
Room::postFile(): adjust to the changed RoomMessageEvent API
9a5fa623 dropped one of RoomMessageEvent constructors for Qt 6 in order to address #483 - breaking the build with Qt 6 along the way, as Room::postFile() relied on that constructor. This commit changes Room::postFile() in turn, deprecating the current signature and adding a new one that accepts an EventContent object rather than a path to a file. In order to achieve that, FileInfo and ImageInfo classes have gained new constructors that accept QFileInfo instead of the legacy series of parameters, streamlining usage of EventContent structures.
Diffstat (limited to 'lib/converters.h')
0 files changed, 0 insertions, 0 deletions