diff options
| author | oldmud0 <oldmud0@users.noreply.github.com> | 2021-07-29 21:39:48 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-29 21:39:48 -0500 |
| commit | 579456fbd766b64f4ba11b9ff83ece3dad9d6553 (patch) | |
| tree | f1bd2dc529bf7cb2b214cd08d0aee574ca9c4f84 /src/courtroom.cpp | |
| parent | a4b5023088b4b00d2a54cd36909a95336851c898 (diff) | |
| parent | 15f0ee38383fef3c140752345b4aa57628ad2e53 (diff) | |
Merge pull request #575 from AttorneyOnline/unused-macro
Swap out "UNUSED()" macro for "Q_UNUSED()"
Diffstat (limited to 'src/courtroom.cpp')
| -rw-r--r-- | src/courtroom.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/courtroom.cpp b/src/courtroom.cpp index 7b4d4f04..25f256ae 100644 --- a/src/courtroom.cpp +++ b/src/courtroom.cpp @@ -4584,7 +4584,7 @@ void Courtroom::set_sfx_dropdown() void Courtroom::on_sfx_dropdown_changed(int p_index) { - UNUSED(p_index); + Q_UNUSED(p_index); ui_ic_chat_message->setFocus(); ui_sfx_remove->hide(); custom_sfx = ""; @@ -4964,7 +4964,7 @@ void Courtroom::music_stop(bool no_effects) void Courtroom::on_area_list_double_clicked(QTreeWidgetItem *p_item, int column) { column = 0; // The metadata - UNUSED(column); // so gcc shuts up + Q_UNUSED(column); // so gcc shuts up QString p_area = p_item->text(0); QStringList packet_contents; |
