projects
/
qcpufreq
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcba2cd
)
Refresh GUI after applying settings
author
Daniel Klaffenbach
<danielklaffenbach@gmail.com>
Sun, 7 Nov 2010 14:15:31 +0000
(15:15 +0100)
committer
Daniel Klaffenbach
<danielklaffenbach@gmail.com>
Sun, 7 Nov 2010 14:15:31 +0000
(15:15 +0100)
src/mainwindow.cpp
patch
|
blob
|
history
diff --git
a/src/mainwindow.cpp
b/src/mainwindow.cpp
index
5b0193a
..
2646c1a
100644
(file)
--- a/
src/mainwindow.cpp
+++ b/
src/mainwindow.cpp
@@
-54,12
+54,11
@@
MainWindow::MainWindow(QWidget *parent) :
settings = new Settings;
settings->hide();
+ init();
+
//applies the settings from the settings dialog
applySettings();
- init();
- refresh();
-
//initialize orientation
orientationChanged();
@@
-146,6
+145,9
@@
void MainWindow::applySettings()
{
setAutoRotation();
setAdvancedTemperature();
+
+ //refresh the GUI after applying the settings
+ refresh();
}