tidy, format, and resolving tidy warnings #132

Merged
zach merged 26 commits from tidy-warning-fixes into main 2026-06-30 14:46:39 +02:00
2 changed files with 4 additions and 7 deletions
Showing only changes of commit 944694966b - Show all commits
+1 -2
View File
@@ -1,7 +1,6 @@
#include "blobmaterial.hpp" #include "blobmaterial.hpp"
#include <math.h> #include <cmath>
#include <cstring> #include <cstring>
static_assert( static_assert(
@@ -89,17 +89,15 @@ void CircularIndicatorManager::setProgress(qreal progress) {
qreal CircularIndicatorManager::duration() const { qreal CircularIndicatorManager::duration() const {
if (m_type == IndeterminateAnimationType::Advance) { if (m_type == IndeterminateAnimationType::Advance) {
return advance::TOTAL_DURATION_IN_MS; return advance::TOTAL_DURATION_IN_MS;
} else {
return retreat::TOTAL_DURATION_IN_MS;
} }
return retreat::TOTAL_DURATION_IN_MS;
} }
qreal CircularIndicatorManager::completeEndDuration() const { qreal CircularIndicatorManager::completeEndDuration() const {
if (m_type == IndeterminateAnimationType::Advance) { if (m_type == IndeterminateAnimationType::Advance) {
return advance::DURATION_TO_COMPLETE_END_IN_MS; return advance::DURATION_TO_COMPLETE_END_IN_MS;
} else { } return retreat::DURATION_TO_COMPLETE_END_IN_MS;
return retreat::DURATION_TO_COMPLETE_END_IN_MS;
}
} }
CircularIndicatorManager::IndeterminateAnimationType CircularIndicatorManager::IndeterminateAnimationType