Changing the way Favourites invoke browsing from cast on parent to signal.
[vlc-remote] / playermainwindow.cpp
index af879d1..33d001c 100644 (file)
   #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()));