Skip to content

Commit 46c1866

Browse files
committed
ci
1 parent 32ff2b2 commit 46c1866

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

gui/threaddetails.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ void ThreadDetails::updateUI() {
4343
{
4444
QMutexLocker locker(&mMutex);
4545
for (const auto& td: mThreadDetails) {
46-
auto& progress = mProgress[td.file];
47-
if (progress.first.isEmpty() && !progress.second.isEmpty())
48-
progress.first = QTime::currentTime().toString(Qt::TextDate);
49-
text += QString("%1\t%2\t%3\n\t%4\t%5\n").arg(td.threadIndex).arg(td.startTime.toString(Qt::TextDate)).arg(td.file).arg(progress.first).arg(progress.second);
46+
auto& timeProgress = mProgress[td.file];
47+
if (timeProgress.first.isEmpty() && !timeProgress.second.isEmpty())
48+
timeProgress.first = QTime::currentTime().toString(Qt::TextDate);
49+
text += QString("%1\t%2\t%3\n\t%4\t%5\n").arg(td.threadIndex).arg(td.startTime.toString(Qt::TextDate)).arg(td.file).arg(timeProgress.first).arg(timeProgress.second);
5050
}
5151
}
5252
mUi->plainTextEdit->setPlainText(text);

gui/threadresult.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ class ThreadResult : public QObject, public ErrorLogger {
8484
{
8585
(void) metric;
8686
}
87+
// NOLINTNEXTLINE(readability-avoid-const-params-in-decls) - false positive this is an overload
8788
void reportProgress(const std::string &filename, const char stage[], const std::size_t value) final;
8889

8990
public slots:

0 commit comments

Comments
 (0)