Commit 721318e9 authored by Arjen Hiemstra's avatar Arjen Hiemstra

Make GpuDevice::update non-pure virtual

Because Nvidia devices don't need the update.
parent 27abbf16
......@@ -49,7 +49,10 @@ void GpuDevice::initialize()
m_temperatureProperty->setName(i18nc("@title", "Temperature"));
m_temperatureProperty->setPrefix(name());
m_temperatureProperty->setUnit(KSysGuard::UnitCelsius);
}
void GpuDevice::update()
{
}
void GpuDevice::makeSensors()
......
......@@ -19,7 +19,7 @@ public:
~GpuDevice() override = default;
virtual void initialize();
virtual void update() = 0;
virtual void update();
protected:
virtual void makeSensors();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment