summaryrefslogtreecommitdiff
path: root/src/modlist.h
diff options
context:
space:
mode:
authorMikaël Capelle <capelle.mikael@gmail.com>2020-05-27 22:45:42 +0200
committerMikaël Capelle <capelle.mikael@gmail.com>2020-05-27 22:45:42 +0200
commit700c5fb16c1c4e39fd757998e95ead4a25ecc6da (patch)
tree723e3c3b9d6b72d3fc69b27632adf6e750169eb7 /src/modlist.h
parent6f22a77cdac588abcb60ac4c45d795b74872c626 (diff)
Store contents as a set instead of a vector.
Diffstat (limited to 'src/modlist.h')
-rw-r--r--src/modlist.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modlist.h b/src/modlist.h
index 4e2e86d2..8c29300d 100644
--- a/src/modlist.h
+++ b/src/modlist.h
@@ -79,7 +79,7 @@ public:
* @brief constructor
* @todo ensure this view works without a profile set, otherwise there are intransparent dependencies on the initialisation order
**/
- ModList(PluginContainer *pluginContainer, OrganizerCore *parent = nullptr);
+ ModList(PluginContainer *pluginContainer, OrganizerCore *parent);
~ModList();
@@ -285,9 +285,9 @@ private:
QString getColumnToolTip(int column) const;
- QVariantList contentsToIcons(const std::vector<int> &contentIds) const;
+ QVariantList contentsToIcons(const std::set<int> &contentIds) const;
- QString contentsToToolTip(const std::vector<int> &contentsIds) const;
+ QString contentsToToolTip(const std::set<int> &contentsIds) const;
ModList::EColumn getEnabledColumn(int index) const;