diff --git a/radeon-profile/dxorg.cpp b/radeon-profile/dxorg.cpp index c8d419f..7b9f989 100644 --- a/radeon-profile/dxorg.cpp +++ b/radeon-profile/dxorg.cpp @@ -61,7 +61,7 @@ QString getValueFromSysFsFile(QString fileName) { QString value("-1"); if (f.open(QIODevice::ReadOnly)) - value = QString(f.readAll()).trimmed(); + value = QString(f.readAll().replace('\0', "")).trimmed(); f.close(); return value;