diff options
author | Trial97 <alexandru.tripon97@gmail.com> | 2023-07-10 16:25:15 +0300 |
---|---|---|
committer | Trial97 <alexandru.tripon97@gmail.com> | 2023-07-10 16:25:15 +0300 |
commit | 35ccfdb7996ba727039ad2c0ab2974a49eecb6cc (patch) | |
tree | 2ef737788a9a0d5c6e810373371c2497f6e1c59c /launcher/meta/Index.cpp | |
parent | 6d758795af8a414d13db4951e3e9ed60af7091fd (diff) | |
parent | 91c9082d19b957c3295e7a0b5bc6add71e6459b8 (diff) | |
download | PrismLauncher-35ccfdb7996ba727039ad2c0ab2974a49eecb6cc.tar.gz PrismLauncher-35ccfdb7996ba727039ad2c0ab2974a49eecb6cc.tar.bz2 PrismLauncher-35ccfdb7996ba727039ad2c0ab2974a49eecb6cc.zip |
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into catpacks
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
Diffstat (limited to 'launcher/meta/Index.cpp')
-rw-r--r-- | launcher/meta/Index.cpp | 8 |
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(); |