#if defined(Q_WS_S60) || defined(Q_WS_MAEMO_5)
mPlayListMainWindow->setParent(this);
- mPlayListMainWindow->setAttribute(Qt::WA_Maemo5StackedWindow);
- setAttribute(Qt::WA_Maemo5StackedWindow);
+ mPlayListMainWindow->setAttribute(Qt::WA_Maemo5StackedWindow, true);
+ setAttribute(Qt::WA_Maemo5StackedWindow, true);
mPlayListMainWindow->setWindowFlags(mPlayListMainWindow->windowFlags() | Qt::Window);
mBrowserMainWindow->setParent(this);
- mBrowserMainWindow->setAttribute(Qt::WA_Maemo5StackedWindow);
- setAttribute(Qt::WA_Maemo5StackedWindow);
+ mBrowserMainWindow->setAttribute(Qt::WA_Maemo5StackedWindow, true);
+ setAttribute(Qt::WA_Maemo5StackedWindow, true);
mBrowserMainWindow->setWindowFlags(mBrowserMainWindow->windowFlags() | Qt::Window);
connect(QApplication::desktop(), SIGNAL(resized(int)), this, SLOT(orientationChanged()));