Update ScanThread.cpp

Commit from Linux