From bca3605f77cf05590c189f394d9778a8c3b5f508 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Mon, 21 Sep 2020 19:48:04 +0200 Subject: [PATCH] astyle formatting --- gui/mainwindow.cpp | 4 ++-- gui/threadhandler.cpp | 4 ++-- lib/preprocessor.cpp | 2 +- lib/symboldatabase.cpp | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp index 5fd02499f..19b544361 100644 --- a/gui/mainwindow.cpp +++ b/gui/mainwindow.cpp @@ -1044,7 +1044,7 @@ void MainWindow::analysisDone() for (QAction* recentProjectAct : mRecentProjectActs) { if (recentProjectAct != nullptr) - recentProjectAct->setEnabled(true); + recentProjectAct->setEnabled(true); } // Notify user - if the window is not active - that check is ready @@ -1070,7 +1070,7 @@ void MainWindow::checkLockDownUI() for (QAction* recentProjectAct : mRecentProjectActs) { if (recentProjectAct != nullptr) - recentProjectAct->setEnabled(false); + recentProjectAct->setEnabled(false); } } diff --git a/gui/threadhandler.cpp b/gui/threadhandler.cpp index 3e63702e0..08d902dff 100644 --- a/gui/threadhandler.cpp +++ b/gui/threadhandler.cpp @@ -137,7 +137,7 @@ void ThreadHandler::setThreadCount(const int count) void ThreadHandler::removeThreads() { for (CheckThread* thread : mThreads) { - thread->terminate(); + thread->terminate(); disconnect(thread, &CheckThread::done, this, &ThreadHandler::threadDone); disconnect(thread, &CheckThread::fileChecked, @@ -176,7 +176,7 @@ void ThreadHandler::stop() mCheckStartTime = QDateTime(); mAnalyseWholeProgram = false; for (CheckThread* thread : mThreads) { - thread->stop(); + thread->stop(); } } diff --git a/lib/preprocessor.cpp b/lib/preprocessor.cpp index 428203136..617e52e96 100644 --- a/lib/preprocessor.cpp +++ b/lib/preprocessor.cpp @@ -659,7 +659,7 @@ void Preprocessor::removeComments() { for (std::pair& tokenList : mTokenLists) { if (tokenList.second) - tokenList.second->removeComments(); + tokenList.second->removeComments(); } } diff --git a/lib/symboldatabase.cpp b/lib/symboldatabase.cpp index 5043f4a17..7d9f181f7 100644 --- a/lib/symboldatabase.cpp +++ b/lib/symboldatabase.cpp @@ -720,7 +720,7 @@ void SymbolDatabase::createSymbolDatabaseClassInfo() const Scope * const found = findScope(usingInfo.start->tokAt(2), &scope); if (found) { // set found scope - usingInfo.scope = found; + usingInfo.scope = found; break; } } @@ -755,7 +755,7 @@ void SymbolDatabase::createSymbolDatabaseVariableInfo() // fill in variable info for (Scope& scope : scopeList) { // find variables - scope.getVariableList(mSettings); + scope.getVariableList(mSettings); } // fill in function arguments