diff options
| author | in1tiate <32779090+in1tiate@users.noreply.github.com> | 2025-01-14 02:31:36 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-14 02:31:36 -0600 |
| commit | 764b2f8944ef4d40a3829c1e55112b0cb4ff32fe (patch) | |
| tree | 76db40f16c2e290ca8df7aff27597b6509f28e4f /src/evidence.cpp | |
| parent | ed8bc457351005b8590de5a70f8004edcf1635c1 (diff) | |
| parent | a9e2ea19508ceb120fbe8a570d35e651c15f819a (diff) | |
Merge pull request #1067 from AttorneyOnline/cleanup
Very cool and professional cleanup of clazy warnings
Diffstat (limited to 'src/evidence.cpp')
| -rw-r--r-- | src/evidence.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/evidence.cpp b/src/evidence.cpp index 322970fa..aab7c8c7 100644 --- a/src/evidence.cpp +++ b/src/evidence.cpp @@ -305,7 +305,7 @@ void Courtroom::set_evidence_page() ui_evidence_left->hide(); ui_evidence_right->hide(); - for (AOEvidenceButton *i_button : qAsConst(ui_evidence_list)) + for (AOEvidenceButton *i_button : std::as_const(ui_evidence_list)) { i_button->hide(); } @@ -481,7 +481,7 @@ void Courtroom::on_evidence_clicked(int p_id) } ui_evidence_name->setText(local_evidence_list.at(f_real_id).name); - for (AOEvidenceButton *i_button : qAsConst(ui_evidence_list)) + for (AOEvidenceButton *i_button : std::as_const(ui_evidence_list)) { i_button->setSelected(false); } @@ -508,7 +508,7 @@ void Courtroom::on_evidence_double_clicked(int p_id) } } - for (AOEvidenceButton *i_button : qAsConst(ui_evidence_list)) + for (AOEvidenceButton *i_button : std::as_const(ui_evidence_list)) { i_button->setSelected(false); } |
