diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-10-31 16:38:15 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-10-31 18:47:58 +0100 |
commit | 7824c772346e13f26eb878ce6a945fbb707e2247 (patch) | |
tree | 373ac7850c6eb87c1b4da7a62ec24330277d18f0 /src/ImagePackListModel.cpp | |
parent | Fix version code having too many segments (diff) | |
download | nheko-7824c772346e13f26eb878ce6a945fbb707e2247.tar.xz |
Cleanup headers a bit more
Diffstat (limited to 'src/ImagePackListModel.cpp')
-rw-r--r-- | src/ImagePackListModel.cpp | 4 |
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_) { |