summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMikaël Capelle <capelle.mikael@gmail.com>2021-01-10 10:19:40 +0100
committerMikaël Capelle <capelle.mikael@gmail.com>2021-01-10 10:19:40 +0100
commit1ed3fcaa9bb6caa16bec3f1505d003a1b54886cb (patch)
tree12f042c3f4b77dffe4630ed0bbe654f2f13a49ed /src
parentbec0974c95284cdf469dc21db614be32bb7b1531 (diff)
NameRole -> GameNameRole.
Diffstat (limited to 'src')
-rw-r--r--src/modlist.cpp2
-rw-r--r--src/modlist.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modlist.cpp b/src/modlist.cpp
index e541ff71..ea1d2754 100644
--- a/src/modlist.cpp
+++ b/src/modlist.cpp
@@ -388,7 +388,7 @@ QVariant ModList::data(const QModelIndex &modelIndex, int role) const
else if (role == ContentsRole) {
return contentsToIcons(modInfo->getContents());
}
- else if (role == NameRole) {
+ else if (role == GameNameRole) {
return modInfo->gameName();
}
else if (role == PriorityRole) {
diff --git a/src/modlist.h b/src/modlist.h
index 279ef71a..1d94749c 100644
--- a/src/modlist.h
+++ b/src/modlist.h
@@ -73,7 +73,7 @@ public:
// containing icon paths
ContentsRole = Qt::UserRole + 3,
- NameRole = Qt::UserRole + 4,
+ GameNameRole = Qt::UserRole + 4,
PriorityRole = Qt::UserRole + 5,