diff options
author | Ash <101582426+ashuntu@users.noreply.github.com> | 2023-07-28 21:22:35 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-28 21:22:35 +0000 |
commit | d133b40b254630f988c57c1111e4659023324edc (patch) | |
tree | 96217214a39945ef04e0d191d960481825ac65da /launcher/meta | |
parent | 51d7a6289e1cf2df463ae8d7c0b08b4a61faea3c (diff) | |
parent | bdec11c501a6438706f62465d89f2344f7856342 (diff) | |
download | PrismLauncher-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.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(); |