diff options
author | TheKodeToad <TheKodeToad@proton.me> | 2023-08-13 13:10:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-13 13:10:58 +0100 |
commit | a44cb6430eac81e6e89283c50b57142ca7f05747 (patch) | |
tree | f51678d129432b0a68d22de0178ccb8fd4f9a927 /launcher/ui/pages/instance/ResourcePackPage.cpp | |
parent | 44153a28e369943ea16545146fec81f7a62e44dd (diff) | |
parent | 35358f8180468af1572c35425b1f60c899d6b07d (diff) | |
download | PrismLauncher-a44cb6430eac81e6e89283c50b57142ca7f05747.tar.gz PrismLauncher-a44cb6430eac81e6e89283c50b57142ca7f05747.tar.bz2 PrismLauncher-a44cb6430eac81e6e89283c50b57142ca7f05747.zip |
Merge pull request #1107 from Ryex/chore/add-compiler-warnings
Introduce more strict compiler warnings and fix them
Diffstat (limited to 'launcher/ui/pages/instance/ResourcePackPage.cpp')
-rw-r--r-- | launcher/ui/pages/instance/ResourcePackPage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/ui/pages/instance/ResourcePackPage.cpp b/launcher/ui/pages/instance/ResourcePackPage.cpp index 12b371df..26c14ca4 100644 --- a/launcher/ui/pages/instance/ResourcePackPage.cpp +++ b/launcher/ui/pages/instance/ResourcePackPage.cpp @@ -55,7 +55,7 @@ ResourcePackPage::ResourcePackPage(MinecraftInstance* instance, std::shared_ptr< ui->actionViewConfigs->setVisible(false); } -bool ResourcePackPage::onSelectionChanged(const QModelIndex& current, const QModelIndex& previous) +bool ResourcePackPage::onSelectionChanged(const QModelIndex& current, [[maybe_unused]] const QModelIndex& previous) { auto sourceCurrent = m_filterModel->mapToSource(current); int row = sourceCurrent.row(); |