Skip to content

Commit b2606ff

Browse files
olabetskyidanmar
authored andcommitted
Fix #14606: Crash in Gui (#8346)
1 parent af1cf89 commit b2606ff

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
@@ -170,7 +170,7 @@ void CheckThread::run()
170170
const Details details{ mThreadIndex, QString::fromStdString(fname), QTime::currentTime(), };
171171
emit startCheck(details);
172172

173-
cppcheck.check(*file);
173+
cppcheck.check(*fileSettings);
174174
runAddonsAndTools(mSettings, fileSettings, QString::fromStdString(fname));
175175

176176
emit finishCheck(details);

0 commit comments

Comments
 (0)