diff options
author | TheLastRar <TheLastRar@users.noreply.github.com> | 2022-11-13 14:33:25 +0000 |
---|---|---|
committer | TheLastRar <TheLastRar@users.noreply.github.com> | 2022-11-14 19:05:57 +0000 |
commit | 5558f3d2ccde1f1a043fbb82c0856ae3241dc20f (patch) | |
tree | 7a0a06542e509c4cb9a3da9cfcd8ecf79ae7d5fd /launcher | |
parent | 08f8623cb700cc51d6953b573d432f4553a5c736 (diff) | |
download | PrismLauncher-5558f3d2ccde1f1a043fbb82c0856ae3241dc20f.tar.gz PrismLauncher-5558f3d2ccde1f1a043fbb82c0856ae3241dc20f.tar.bz2 PrismLauncher-5558f3d2ccde1f1a043fbb82c0856ae3241dc20f.zip |
Mark paramaters of dropMimeData as unused
Signed-off-by: TheLastRar <TheLastRar@users.noreply.github.com>
Diffstat (limited to 'launcher')
-rw-r--r-- | launcher/icons/IconList.cpp | 2 | ||||
-rw-r--r-- | launcher/minecraft/WorldList.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/launcher/icons/IconList.cpp b/launcher/icons/IconList.cpp index 3a223d1b..a1f77cc3 100644 --- a/launcher/icons/IconList.cpp +++ b/launcher/icons/IconList.cpp @@ -242,7 +242,7 @@ Qt::DropActions IconList::supportedDropActions() const return Qt::CopyAction; } -bool IconList::dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) +bool IconList::dropMimeData(const QMimeData *data, Qt::DropAction action, [[maybe_unused]] int row, [[maybe_unused]] int column, [[maybe_unused]] const QModelIndex &parent) { if (action == Qt::IgnoreAction) return true; diff --git a/launcher/minecraft/WorldList.cpp b/launcher/minecraft/WorldList.cpp index aee7be35..3634d144 100644 --- a/launcher/minecraft/WorldList.cpp +++ b/launcher/minecraft/WorldList.cpp @@ -398,8 +398,8 @@ void WorldList::installWorld(QFileInfo filename) w.install(m_dir.absolutePath()); } -bool WorldList::dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, - const QModelIndex &parent) +bool WorldList::dropMimeData(const QMimeData *data, Qt::DropAction action, [[maybe_unused]] int row, [[maybe_unused]] int column, + [[maybe_unused]] const QModelIndex &parent) { if (action == Qt::IgnoreAction) return true; |