##// END OF EJS Templates
Fix crash when removing pie series from chart...
Fix crash when removing pie series from chart Connections cleanup in PieChartItem destructor didn't account for the possibility of series already having been destroyed. Changed m_series to QPointer so that it'll notice when series gets destroyed, and also added cleaning of slices to series destructor. Task-number: QTRD-1946 Change-Id: I651347bfcfbe7cd78dd26220a811fea5c8071fce Reviewed-by: Mika Salmela Reviewed-by: Mika Salmela <mika.salmela@digia.com>

File last commit:

r2274:2d2a1c8b0f36
r2475:9e35a3a169ed
Show More
axis.pri
78 lines | 2.4 KiB | text/plain | TextLexer
#Subdirectiores are defined here, because qt creator doesn't handle nested include(foo.pri) chains very well.
INCLUDEPATH += $$PWD \
$$PWD/valueaxis \
$$PWD/barcategoryaxis \
$$PWD/categoryaxis \
$$PWD/logvalueaxis
DEPENDPATH += $$PWD \
$$PWD/valueaxis \
$$PWD/barcategoryaxis \
$$PWD/categoryaxis \
$$PWD/logvalueaxis
SOURCES += \
$$PWD/chartaxis.cpp \
$$PWD/qabstractaxis.cpp \
$$PWD/verticalaxis.cpp \
$$PWD/horizontalaxis.cpp \
$$PWD/valueaxis/chartvalueaxisx.cpp \
$$PWD/valueaxis/chartvalueaxisy.cpp \
$$PWD/valueaxis/qvalueaxis.cpp \
$$PWD/barcategoryaxis/chartbarcategoryaxisx.cpp \
$$PWD/barcategoryaxis/chartbarcategoryaxisy.cpp \
$$PWD/barcategoryaxis/qbarcategoryaxis.cpp \
$$PWD/categoryaxis/chartcategoryaxisx.cpp \
$$PWD/categoryaxis/chartcategoryaxisy.cpp \
$$PWD/categoryaxis/qcategoryaxis.cpp \
$$PWD/logvalueaxis/chartlogvalueaxisx.cpp \
$$PWD/logvalueaxis/chartlogvalueaxisy.cpp \
$$PWD/logvalueaxis/qlogvalueaxis.cpp
PRIVATE_HEADERS += \
$$PWD/chartaxis_p.h \
$$PWD/qabstractaxis_p.h \
$$PWD/verticalaxis_p.h \
$$PWD/horizontalaxis_p.h \
$$PWD/valueaxis/chartvalueaxisx_p.h \
$$PWD/valueaxis/chartvalueaxisy_p.h \
$$PWD/valueaxis/qvalueaxis_p.h \
$$PWD/barcategoryaxis/chartbarcategoryaxisx_p.h \
$$PWD/barcategoryaxis/chartbarcategoryaxisy_p.h \
$$PWD/barcategoryaxis/qbarcategoryaxis_p.h \
$$PWD/categoryaxis/chartcategoryaxisx_p.h \
$$PWD/categoryaxis/chartcategoryaxisy_p.h \
$$PWD/categoryaxis/qcategoryaxis_p.h \
$$PWD/logvalueaxis/chartlogvalueaxisx_p.h \
$$PWD/logvalueaxis/chartlogvalueaxisy_p.h \
$$PWD/logvalueaxis/qlogvalueaxis_p.h
PUBLIC_HEADERS += \
$$PWD/qabstractaxis.h \
$$PWD/valueaxis/qvalueaxis.h \
$$PWD/barcategoryaxis/qbarcategoryaxis.h \
$$PWD/categoryaxis/qcategoryaxis.h \
$$PWD/logvalueaxis/qlogvalueaxis.h \
!linux-arm*: {
INCLUDEPATH += \
$$PWD/datetimeaxis
DEPENDPATH += \
$$PWD/datetimeaxis
SOURCES += \
$$PWD/datetimeaxis/chartdatetimeaxisx.cpp \
$$PWD/datetimeaxis/chartdatetimeaxisy.cpp \
$$PWD/datetimeaxis/qdatetimeaxis.cpp
PRIVATE_HEADERS += \
$$PWD/datetimeaxis/chartdatetimeaxisx_p.h \
$$PWD/datetimeaxis/chartdatetimeaxisy_p.h \
$$PWD/datetimeaxis/qdatetimeaxis_p.h
PUBLIC_HEADERS += \
$$PWD/datetimeaxis/qdatetimeaxis.h
}