From d2f78d2aba17a491739d10bd73f6fce033849537 Mon Sep 17 00:00:00 2001 From: schurig Date: Tue, 10 Jun 2003 16:35:43 +0000 Subject: renamed frequency access methods --- (limited to 'core/settings/light-and-power/light.cpp') diff --git a/core/settings/light-and-power/light.cpp b/core/settings/light-and-power/light.cpp index 68c2929..eda0c1f 100644 --- a/core/settings/light-and-power/light.cpp +++ b/core/settings/light-and-power/light.cpp @@ -70,7 +70,7 @@ LightSettings::LightSettings( QWidget* parent, const char* name, WFlags ) contrast_ac->hide(); } - QStrList freq = ODevice::inst()->cpuFrequencies(); + QStrList freq = ODevice::inst()->allowedCpuFrequencies(); if ( freq.count() ) { frequency->insertStrList( freq ); frequency_ac->insertStrList( freq ); @@ -210,7 +210,7 @@ void LightSettings::setContrast ( int contr ) void LightSettings::setFrequency ( int index ) { qWarning("LightSettings::setFrequency(%d)", index); - ODevice::inst ( )-> setCpuFrequency(index); + ODevice::inst ( )-> setCurrentCpuFrequency(index); } void LightSettings::resetBacklight ( ) -- cgit v0.9.0.2