diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-07-18 18:22:28 +0200 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-07-18 18:22:28 +0200 |
commit | 004ebf8d5ba095ca1b11e30d86cedc2ff8c0cfe7 (patch) | |
tree | fec2b2084d884bd2c0a0ba44ef85b2874c80b230 /lib/events/roommemberevent.cpp | |
parent | e3bdbc84ec5ada04e436dba9067d902e2c6c030a (diff) | |
download | libquotient-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/events/roommemberevent.cpp')
0 files changed, 0 insertions, 0 deletions