diff options
Diffstat (limited to 'src/sources/nvidiathermalsrc.cpp')
-rw-r--r-- | src/sources/nvidiathermalsrc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sources/nvidiathermalsrc.cpp b/src/sources/nvidiathermalsrc.cpp index 34fec06..351a728 100644 --- a/src/sources/nvidiathermalsrc.cpp +++ b/src/sources/nvidiathermalsrc.cpp @@ -82,9 +82,9 @@ std::list<Source*>NVidiaThermalSrc::createInstances(TQWidget* inParent){ while(proc.readln(ln) != -1) pout+= ln + '\n'; - if(pout.tqcontains("Attribute 'GPUCoreTemp'")) + if(pout.contains("Attribute 'GPUCoreTemp'")) list.push_back(new NVidiaThermalSrc(inParent, "GPUCoreTemp", "NVidiaCore")); - if(pout.tqcontains("Attribute 'GPUAmbientTemp'")) + if(pout.contains("Attribute 'GPUAmbientTemp'")) list.push_back(new NVidiaThermalSrc(inParent, "GPUAmbientTemp", "NVidiaAmbient")); #else int evt_base = 0, err_base = 0, temp; |