From b31927656584f47a7a42d379f4a835dd246f9e07 Mon Sep 17 00:00:00 2001 From: Akos Polster Date: Mon, 13 Jun 2011 18:03:41 +0200 Subject: [PATCH] Fix crash. --- fullscreenwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 1.7.9.5