From dc4075a5b2f103a74875e7a420d3050618c778e1 Mon Sep 17 00:00:00 2001 From: Arin Alex Date: Wed, 2 Mar 2016 21:17:37 +0300 Subject: [PATCH] =?UTF-8?q?fix=20#15=20=D0=9F=D0=B0=D0=B4=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=20=D0=BF=D1=80=D0=B5=D0=B2=D1=8C=D1=8E=20=D0=BF?= =?UTF-8?q?=D1=80=D0=B8=20=D1=83=D0=B4=D0=B0=D0=BB=D0=B5=D0=BD=D0=B8=D0=B8?= =?UTF-8?q?=20=D0=B0=D0=BA=D1=82=D0=B8=D0=B2=D0=BD=D0=BE=D0=B3=D0=BE=20?= =?UTF-8?q?=D0=BE=D0=BA=D0=BD=D0=B0=20=D0=BF=D1=80=D0=B8=D0=BB=D0=BE=D0=B6?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lrreportengine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lrreportengine.cpp b/src/lrreportengine.cpp index 64a9392..b9a9a00 100644 --- a/src/lrreportengine.cpp +++ b/src/lrreportengine.cpp @@ -291,7 +291,7 @@ void ReportEnginePrivate::previewReport() ReportPages pages = renderToPages(); dataManager()->setDesignTime(true); if (pages.count()>0){ - PreviewReportWindow* w = new PreviewReportWindow(this,QApplication::activeWindow(),settings()); + PreviewReportWindow* w = new PreviewReportWindow(this,0,settings()); w->setWindowFlags(Qt::Dialog|Qt::WindowMaximizeButtonHint|Qt::WindowCloseButtonHint); w->setAttribute(Qt::WA_DeleteOnClose,true); w->setWindowModality(Qt::ApplicationModal);