Skip to content
Snippets Groups Projects
Verified Commit 0fdf91ec authored by Nicolas Werner's avatar Nicolas Werner
Browse files

[konheko] Fix compilation for aarch64

parent 49866086
No related branches found
No related tags found
No related merge requests found
Pipeline #1099 failed
......@@ -851,9 +851,9 @@ QVariant Room::data(const QModelIndex &index, int role) const {
return QString::fromStdString(
std::visit([](const auto &e) -> std::string { return eventThumbnailUrl(e); }, event));
case Height:
return std::visit([](const auto &e) -> uint64_t { return eventHeight(e); }, event);
return QVariant(qulonglong{std::visit([](const auto &e) -> uint64_t { return eventHeight(e); }, event)});
case Width:
return std::visit([](const auto &e) -> uint64_t { return eventWidth(e); }, event);
return QVariant(qulonglong{std::visit([](const auto &e) -> uint64_t { return eventWidth(e); }, event)});
case FileSize: {
auto bytes = std::visit([](const auto &e) -> uint64_t { return eventFileSize(e); }, event);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment