mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
desktop-widgets: Change Q_UNUSED to no parameter name
C++ permits use of parameters without name, which signals unused Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
parent
e47f6df076
commit
e536682b84
12 changed files with 43 additions and 103 deletions
|
@ -1655,10 +1655,8 @@ void MainWindow::updateRecentFiles()
|
|||
updateRecentFilesMenu();
|
||||
}
|
||||
|
||||
void MainWindow::recentFileTriggered(bool checked)
|
||||
void MainWindow::recentFileTriggered(bool)
|
||||
{
|
||||
Q_UNUSED(checked);
|
||||
|
||||
if (!okToClose(tr("Please save or cancel the current dive edit before opening a new file.")))
|
||||
return;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue