diff options
-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) |