summary refs log tree commit diff
path: root/src/CombinedImagePackModel.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2023-10-31 16:38:15 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2023-10-31 18:47:58 +0100
commit7824c772346e13f26eb878ce6a945fbb707e2247 (patch)
tree373ac7850c6eb87c1b4da7a62ec24330277d18f0 /src/CombinedImagePackModel.cpp
parentFix version code having too many segments (diff)
downloadnheko-7824c772346e13f26eb878ce6a945fbb707e2247.tar.xz
Cleanup headers a bit more
Diffstat (limited to 'src/CombinedImagePackModel.cpp')
-rw-r--r--src/CombinedImagePackModel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CombinedImagePackModel.cpp b/src/CombinedImagePackModel.cpp

index 23fb50f1..c4a09847 100644 --- a/src/CombinedImagePackModel.cpp +++ b/src/CombinedImagePackModel.cpp
@@ -4,7 +4,7 @@ #include "CombinedImagePackModel.h" -#include "Cache_p.h" +#include "Cache.h" #include "CompletionModelRoles.h" #include "emoji/Provider.h" @@ -12,7 +12,7 @@ CombinedImagePackModel::CombinedImagePackModel(const std::string &roomId, QObjec : QAbstractListModel(parent) , room_id(roomId) { - auto packs = cache::client()->getImagePacks(room_id, false); + auto packs = cache::getImagePacks(room_id, false); for (const auto &pack : packs) { QString packname =