Skip to content

Commit

Permalink
Fix clang-tidy warning in exitprompt.cpp.
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxdude42 committed Oct 25, 2020
1 parent 5ae6754 commit 7d206c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mythtv/programs/mythfrontend/exitprompt.cpp
Expand Up @@ -146,7 +146,7 @@ void ExitPrompter::DoStandby()
deleteLater();
}

void ExitPrompter::MainDialogClosed(QString /*unused*/, int Id)
void ExitPrompter::MainDialogClosed(const QString& /*unused*/, int Id)
{
// If the dialog box was closed without a result - or the result was no, then
// delete
Expand Down
2 changes: 1 addition & 1 deletion mythtv/programs/mythfrontend/exitprompt.h
Expand Up @@ -22,7 +22,7 @@ class ExitPrompter : public QObject
void ConfirmReboot();
void ConfirmSuspend();
void Confirm(MythPower::Feature Action);
void MainDialogClosed(QString /*unused*/, int Id);
void MainDialogClosed(const QString& /*unused*/, int Id);

private:
MythPower* m_power { nullptr };
Expand Down

0 comments on commit 7d206c9

Please sign in to comment.