Preview window layout direction fixed

This commit is contained in:
Arin Alexander 2017-12-20 12:56:02 +03:00
parent 6a0faa5a68
commit 44d9f8cc15

View File

@ -70,7 +70,8 @@ ReportEnginePrivate::ReportEnginePrivate(QObject *parent) :
m_showProgressDialog(true), m_reportName(""), m_activePreview(0),
m_previewWindowIcon(":/report/images/logo32"), m_previewWindowTitle(tr("Preview")),
m_reportRendering(false), m_resultIsEditable(true), m_passPhrase("HjccbzHjlbyfCkjy"),
m_fileWatcher( new QFileSystemWatcher( this ) ), m_reportLanguage(QLocale::AnyLanguage), m_designerFactory(0)
m_fileWatcher( new QFileSystemWatcher( this ) ), m_reportLanguage(QLocale::AnyLanguage),
m_designerFactory(0), m_previewLayoutDirection(Qt::LeftToRight)
{
#ifdef HAVE_STATIC_BUILD
initResources();