projects
/
qcpufreq
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de306c6
)
Do not call setDown on SmartReflex button
author
Daniel Klaffenbach
<danielklaffenbach@gmail.com>
Sat, 26 Jun 2010 18:56:02 +0000
(20:56 +0200)
committer
Daniel Klaffenbach
<danielklaffenbach@gmail.com>
Sat, 26 Jun 2010 18:56:02 +0000
(20:56 +0200)
This wasn't working reliably anyway and might confuse the user.
src/mainwindow.cpp
patch
|
blob
|
history
diff --git
a/src/mainwindow.cpp
b/src/mainwindow.cpp
index
afffeef
..
56c4b69
100755
(executable)
--- a/
src/mainwindow.cpp
+++ b/
src/mainwindow.cpp
@@
-273,13
+273,10
@@
void MainWindow::refresh()
ui->cpu_temp->setText( getCPUTemp() );
//smart reflex button
- if ( getSmartReflexState() == 1 ) {
- ui->sr_btn->setDown( true );
+ if ( getSmartReflexState() == 1 )
ui->sr_btn->setText( tr( "Enabled" ) );
- } else {
- ui->sr_btn->setDown( false );
+ else
ui->sr_btn->setText( tr( "Disabled" ) );
- }
//display frequency slider