- if(mainScreen_->orientationEnabled(WidgetScreen::LANDSCAPE) &&
- mainScreen_->orientationEnabled(WidgetScreen::PORTRAIT))
- {
- setAttribute(Qt::WA_Maemo5AutoOrientation, true);
- }
- else if(mainScreen_->orientationEnabled(WidgetScreen::PORTRAIT))