gui: MainWindow::reAnalyzeSelected(): remove unused parameter 'all'.

Was:
mainwindow.cpp:998:60: warning: unused parameter ‘all’ [-Wunused-parameter]
 void MainWindow::reAnalyzeSelected(QStringList files, bool all)
                                                            ^~~
.
This commit is contained in:
Matthias Krüger 2017-08-14 05:14:18 +02:00
parent 71f52b77a4
commit 2ea8754088
2 changed files with 3 additions and 4 deletions

View File

@ -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()

View File

@ -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.