summary refs log tree commit diff
path: root/src/ImagePackListModel.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/ImagePackListModel.cpp
parentFix version code having too many segments (diff)
downloadnheko-7824c772346e13f26eb878ce6a945fbb707e2247.tar.xz
Cleanup headers a bit more
Diffstat (limited to 'src/ImagePackListModel.cpp')
-rw-r--r--src/ImagePackListModel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ImagePackListModel.cpp b/src/ImagePackListModel.cpp
index 4cf807a9..94b319f2 100644
--- a/src/ImagePackListModel.cpp
+++ b/src/ImagePackListModel.cpp
@@ -6,14 +6,14 @@
 
 #include <QQmlEngine>
 
-#include "Cache_p.h"
+#include "Cache.h"
 #include "SingleImagePackModel.h"
 
 ImagePackListModel::ImagePackListModel(const std::string &roomId, QObject *parent)
   : QAbstractListModel(parent)
   , room_id(roomId)
 {
-    auto packs_ = cache::client()->getImagePacks(room_id, std::nullopt);
+    auto packs_ = cache::getImagePacks(room_id, std::nullopt);
 
     packs.reserve(packs_.size());
     for (const auto &pack : packs_) {