aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/gameoptions/GameOptions.cpp
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2023-08-15 10:36:09 +0200
committerGitHub <noreply@github.com>2023-08-15 10:36:09 +0200
commit4b06255cc26933379107745d95f72097737d2a9b (patch)
tree60e00c8389bb2d8e4be492531beb788a253d1b6a /launcher/minecraft/gameoptions/GameOptions.cpp
parent3aba7f8fec45c7c87be486d8f6b5c96f69facf93 (diff)
parent1939e3e6ed3d2d2d4199d90154333cc8892eafeb (diff)
downloadPrismLauncher-4b06255cc26933379107745d95f72097737d2a9b.tar.gz
PrismLauncher-4b06255cc26933379107745d95f72097737d2a9b.tar.bz2
PrismLauncher-4b06255cc26933379107745d95f72097737d2a9b.zip
Merge pull request #1486 from PrismLauncher/staging
Diffstat (limited to 'launcher/minecraft/gameoptions/GameOptions.cpp')
-rw-r--r--launcher/minecraft/gameoptions/GameOptions.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/launcher/minecraft/gameoptions/GameOptions.cpp b/launcher/minecraft/gameoptions/GameOptions.cpp
index 443525ae..4f4fb99a 100644
--- a/launcher/minecraft/gameoptions/GameOptions.cpp
+++ b/launcher/minecraft/gameoptions/GameOptions.cpp
@@ -97,12 +97,11 @@ QVariant GameOptions::data(const QModelIndex& index, int role) const
default:
return QVariant();
}
- return QVariant();
}
int GameOptions::rowCount(const QModelIndex&) const
{
- return contents.size();
+ return static_cast<int>(contents.size());
}
int GameOptions::columnCount(const QModelIndex&) const