aboutsummaryrefslogtreecommitdiff
path: root/launcher/meta
diff options
context:
space:
mode:
authorAsh <101582426+ashuntu@users.noreply.github.com>2023-07-28 21:22:35 +0000
committerGitHub <noreply@github.com>2023-07-28 21:22:35 +0000
commitd133b40b254630f988c57c1111e4659023324edc (patch)
tree96217214a39945ef04e0d191d960481825ac65da /launcher/meta
parent51d7a6289e1cf2df463ae8d7c0b08b4a61faea3c (diff)
parentbdec11c501a6438706f62465d89f2344f7856342 (diff)
downloadPrismLauncher-d133b40b254630f988c57c1111e4659023324edc.tar.gz
PrismLauncher-d133b40b254630f988c57c1111e4659023324edc.tar.bz2
PrismLauncher-d133b40b254630f988c57c1111e4659023324edc.zip
Merge branch 'PrismLauncher:develop' into develop
Diffstat (limited to 'launcher/meta')
-rw-r--r--launcher/meta/Index.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/launcher/meta/Index.cpp b/launcher/meta/Index.cpp
index 242aad9f..4dccccca 100644
--- a/launcher/meta/Index.cpp
+++ b/launcher/meta/Index.cpp
@@ -45,10 +45,10 @@ QVariant Index::data(const QModelIndex &index, int role) const
switch (role)
{
case Qt::DisplayRole:
- switch (index.column())
- {
- case 0: return list->humanReadable();
- default: break;
+ if (index.column() == 0) {
+ return list->humanReadable();
+ } else {
+ break;
}
case UidRole: return list->uid();
case NameRole: return list->name();