diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-03-23 14:47:52 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-03-23 17:22:16 +0900 |
commit | a5428e53525afbc6fe6f697edb4f742d84c9ae0c (patch) | |
tree | a2bb2c6d4280cb31432a57fa32cb1c26e5e3b405 | |
parent | 062840871f0d740d55cec0aadb8c18b95f7cef62 (diff) | |
download | libquotient-a5428e53525afbc6fe6f697edb4f742d84c9ae0c.tar.gz libquotient-a5428e53525afbc6fe6f697edb4f742d84c9ae0c.zip |
Room::downloadFile(): Events are const
-rw-r--r-- | room.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1105,7 +1105,7 @@ void Room::downloadFile(const QString& eventId, const QUrl& localFilename) Q_ASSERT_X(localFilename.isEmpty() || localFilename.isLocalFile(), __FUNCTION__, "localFilename should point at a local file"); - auto* event = d->getEventWithFile(eventId); + const auto* event = d->getEventWithFile(eventId); if (!event) { qCCritical(MAIN) |