summary refs log tree commit diff
path: root/src/GridImagePackModel.h
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2023-05-19 23:19:04 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2023-05-20 00:57:52 +0200
commit58cfc39ac42633eafb65f17483533ef285b72c38 (patch)
treee44d1607d4056c33a139f17316c650c018ddacf1 /src/GridImagePackModel.h
parentPrevent new packs from overwriting the default pack by accident (diff)
downloadnheko-58cfc39ac42633eafb65f17483533ef285b72c38.tar.xz
Fix StickerPicker padding and names of unnamed packs
Diffstat (limited to 'src/GridImagePackModel.h')
-rw-r--r--src/GridImagePackModel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/GridImagePackModel.h b/src/GridImagePackModel.h
index 06dfe734..8da61b8e 100644
--- a/src/GridImagePackModel.h
+++ b/src/GridImagePackModel.h
@@ -85,4 +85,6 @@ private:
     trie<uint, std::pair<std::uint32_t, std::uint32_t>> trie_;
     std::vector<std::pair<std::uint32_t, std::uint32_t>> currentSearchResult;
     std::vector<std::size_t> rowToFirstRowEntryFromSearch;
+
+    QString nameFromPack(const PackDesc &pack) const;
 };