[hostinfo] Fix compile and CPU detection.

main
Adriaan de Groot 7 years ago
parent cec84ee42b
commit 6528ba30c9

@ -118,9 +118,9 @@ hostCPU_Linux()
{
QTextStream in( &cpuinfo );
QString line;
while ( in.readLineInto( line ) )
while ( in.readLineInto( &line ) )
{
if ( line.startsWith( "cpu_type" ) )
if ( line.startsWith( "vendor_id" ) )
{
return hostCPUmatch( line );
}

Loading…
Cancel
Save