From: Akos Polster Date: Mon, 13 Jun 2011 16:03:41 +0000 (+0200) Subject: Fix crash. X-Git-Url: https://vcs.maemo.org/git/?p=dorian;a=commitdiff_plain;h=b31927656584f47a7a42d379f4a835dd246f9e07 Fix crash. --- diff --git a/fullscreenwindow.cpp b/fullscreenwindow.cpp index 27ac731..145b425 100644 --- a/fullscreenwindow.cpp +++ b/fullscreenwindow.cpp @@ -12,7 +12,7 @@ static const int MARGIN = 9; FullScreenWindow::FullScreenWindow(QWidget *parent): AdopterWindow(parent) { TRACE; - Q_ASSERT(parent); + #if defined(Q_WS_MAEMO_5) setAttribute(Qt::WA_Maemo5StackedWindow, true); setAttribute(Qt::WA_Maemo5NonComposited, true);