Skip to content

Commit d3366b1

Browse files
committed
Fix #13749 (GUI: assertion failure when creating dumpfile)
1 parent 43bbfa2 commit d3366b1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gui/checkthread.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ void CheckThread::run()
151151
QString file = mResult.getNextFile();
152152
while (!file.isEmpty() && mState == Running) {
153153
qDebug() << "Checking file" << file;
154-
cppcheck.check(FileWithDetails(file.toStdString()));
154+
cppcheck.check(FileWithDetails(file.toStdString(), Path::identify(file.toStdString(), mSettings.cppHeaderProbe), 0));
155155
runAddonsAndTools(mSettings, nullptr, file);
156156
emit fileChecked(file);
157157

0 commit comments

Comments
 (0)