diff options
author | Daniel d'Andrada <daniel.dandrada@nokia.com> | 2010-02-18 12:59:14 +0200 |
---|---|---|
committer | Daniel d'Andrada <daniel.dandrada@nokia.com> | 2010-02-18 12:59:14 +0200 |
commit | 2667795a157efe71c470641badbfcd4098c3e571 (patch) | |
tree | 7f55e93e6c8471bf36e94b3e9681c3dbbf48b877 /decorators | |
parent | 6569b6c4aa7c3ffe2ce477433d993cbe5d606215 (diff) |
Fixes: NB#152376, Plain X application window title bar is not always on the top edge of the screen
RevBy: TrustMe
Details: duidecorator do not rotate (change orientation) at all.
Diffstat (limited to 'decorators')
-rw-r--r-- | decorators/duidecorator/duidecoratorwindow.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/decorators/duidecorator/duidecoratorwindow.cpp b/decorators/duidecorator/duidecoratorwindow.cpp index b5fdba5..9a80175 100644 --- a/decorators/duidecorator/duidecoratorwindow.cpp +++ b/decorators/duidecorator/duidecoratorwindow.cpp @@ -59,6 +59,10 @@ DuiDecoratorWindow::DuiDecoratorWindow(QWidget *parent) { setAttribute(Qt::WA_TranslucentBackground); + // We do not rotate (change orientation) at all. + setOrientationAngle(Dui::Angle0, Dui::ImmediateOrientationChange); + setOrientationAngleLocked(true); + DuiDecorator *d = new DuiDecorator(this); connect(this, SIGNAL(homeClicked()), d, SLOT(minimize())); connect(this, SIGNAL(escapeClicked()), d, SLOT(close())); |