projects
/
qcpufreq
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4f8823f
)
Also apply auto-rotation to settings dialog
author
Daniel Klaffenbach
<danielklaffenbach@gmail.com>
Wed, 17 Nov 2010 00:02:42 +0000
(
01:02
+0100)
committer
Daniel Klaffenbach
<danielklaffenbach@gmail.com>
Wed, 17 Nov 2010 00:02:42 +0000
(
01:02
+0100)
src/mainwindow.cpp
patch
|
blob
|
history
diff --git
a/src/mainwindow.cpp
b/src/mainwindow.cpp
index
fa0cd97
..
8c4f1a2
100644
(file)
--- a/
src/mainwindow.cpp
+++ b/
src/mainwindow.cpp
@@
-495,6
+495,7
@@
void MainWindow::setAutoRotation()
{
#if defined(Q_WS_MAEMO_5)
setAttribute(Qt::WA_Maemo5AutoOrientation, settings->useAutoRotate());
{
#if defined(Q_WS_MAEMO_5)
setAttribute(Qt::WA_Maemo5AutoOrientation, settings->useAutoRotate());
+ settings->setAttribute(Qt::WA_Maemo5AutoOrientation, settings->useAutoRotate());
#endif
}
#endif
}