From 2ea87540883350a451da6da9cdab5599a93e8602 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Kr=C3=BCger?= Date: Mon, 14 Aug 2017 05:14:18 +0200 Subject: [PATCH] gui: MainWindow::reAnalyzeSelected(): remove unused parameter 'all'. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Was: mainwindow.cpp:998:60: warning: unused parameter ‘all’ [-Wunused-parameter] void MainWindow::reAnalyzeSelected(QStringList files, bool all) ^~~ . --- gui/mainwindow.cpp | 4 ++-- gui/mainwindow.h | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp index 489ecc1a3..2e8f227f1 100644 --- a/gui/mainwindow.cpp +++ b/gui/mainwindow.cpp @@ -995,7 +995,7 @@ void MainWindow::reAnalyzeAll() reAnalyze(true); } -void MainWindow::reAnalyzeSelected(QStringList files, bool all) +void MainWindow::reAnalyzeSelected(QStringList files) { if (files.empty()) return; @@ -1232,7 +1232,7 @@ void MainWindow::showAuthors() void MainWindow::performSelectedFilesCheck(QStringList selectedFilesList) { - reAnalyzeSelected(selectedFilesList, true); + reAnalyzeSelected(selectedFilesList); } void MainWindow::save() diff --git a/gui/mainwindow.h b/gui/mainwindow.h index 26373e9f4..69f2b0eb8 100644 --- a/gui/mainwindow.h +++ b/gui/mainwindow.h @@ -238,9 +238,8 @@ private: /** * @brief Reanalyze selected files * @param files list of selected files - * @param all true if all files of list, false if modified files of list */ - void reAnalyzeSelected(QStringList files, bool all); + void reAnalyzeSelected(QStringList files); /** * @brief Analyze the project.