0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-23 16:22:58 +03:00

windows build fixed

This commit is contained in:
Arin Alexander 2017-12-08 00:26:47 +03:00
parent 0a51aaff63
commit a134425640
2 changed files with 9 additions and 1 deletions

View File

@ -62,6 +62,10 @@ SOURCES += \
$$REPORT_PATH/items/editors/lrtextalignmenteditorwidget.cpp \
$$REPORT_PATH/items/editors/lritemsaligneditorwidget.cpp \
$$REPORT_PATH/items/editors/lritemsborderseditorwidget.cpp \
$$REPORT_PATH/items/lrchartitem.cpp \
$$REPORT_PATH/items/lrchartitemeditor.cpp \
$$REPORT_PATH/items/lrshapeitem.cpp \
$$REPORT_PATH/items/lrimageitem.cpp \
$$REPORT_PATH/translationeditor/translationeditor.cpp \
$$REPORT_PATH/lrbanddesignintf.cpp \
$$REPORT_PATH/lrpageitemdesignintf.cpp \
@ -154,6 +158,10 @@ HEADERS += \
$$REPORT_PATH/items/lrsubitemparentpropitem.h \
$$REPORT_PATH/items/lralignpropitem.h \
$$REPORT_PATH/items/lrhorizontallayout.h \
$$REPORT_PATH/items/lrchartitem.h \
$$REPORT_PATH/items/lrchartitemeditor.h \
$$REPORT_PATH/items/lrshapeitem.h \
$$REPORT_PATH/items/lrimageitem.h \
$$REPORT_PATH/translationeditor/translationeditor.h \
$$REPORT_PATH/lrbanddesignintf.h \
$$REPORT_PATH/lrpageitemdesignintf.h \

View File

@ -365,7 +365,7 @@ void ReportDesignWidget::startEditMode()
PageDesignIntf * ReportDesignWidget::activePage()
{
if (activeView())
return qobject_cast<PageDesignIntf*>(activeView()->scene());
return dynamic_cast<PageDesignIntf*>(activeView()->scene());
return 0;
}