From c66ff10c81c9f085a39ccd10dbdb2b0d2b125372 2012-05-23 07:00:51 From: Tero Ahola Date: 2012-05-23 07:00:51 Subject: [PATCH] Commented out problematic pie model mapper in declarative impl --- diff --git a/plugins/declarative/declarativepieseries.cpp b/plugins/declarative/declarativepieseries.cpp index c906365..57adbb0 100644 --- a/plugins/declarative/declarativepieseries.cpp +++ b/plugins/declarative/declarativepieseries.cpp @@ -33,12 +33,12 @@ DeclarativePieSeries::DeclarativePieSeries(QObject *parent) : // setModel(new DeclarativeTableModel()); // TODO: Set default mapper parameters to allow easy to use PieSeries api? - QPieModelMapper *mapper = modelMapper();//new QPieModelMapper(); - mapper->setMapLabels(0); - mapper->setMapValues(1); - mapper->setOrientation(Qt::Vertical); - mapper->setFirst(0); - mapper->setCount(-1); +// QPieModelMapper *mapper = modelMapper();//new QPieModelMapper(); +// mapper->setMapLabels(0); +// mapper->setMapValues(1); +// mapper->setOrientation(Qt::Vertical); +// mapper->setFirst(0); +// mapper->setCount(-1); // setModelMapper(mapper); }