Also apply auto-rotation to settings dialog
[qcpufreq] / src / mainwindow.cpp
index fa0cd97..8c4f1a2 100644 (file)
@@ -495,6 +495,7 @@ void MainWindow::setAutoRotation()
 {
 #if defined(Q_WS_MAEMO_5)
     setAttribute(Qt::WA_Maemo5AutoOrientation, settings->useAutoRotate());
+    settings->setAttribute(Qt::WA_Maemo5AutoOrientation, settings->useAutoRotate());
 #endif
 }