diff options
Diffstat (limited to 'desktop-widgets/mainwindow.cpp')
-rw-r--r-- | desktop-widgets/mainwindow.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp index 030b33b70..883b81d23 100644 --- a/desktop-widgets/mainwindow.cpp +++ b/desktop-widgets/mainwindow.cpp @@ -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; |