From c858df4230afc1f425fec48e4e4bf2e577c5cc65 2012-02-17 13:41:11 From: Jani Honkonen Date: 2012-02-17 13:41:11 Subject: [PATCH] Fix initial pie position bug --- diff --git a/src/piechart/piepresenter.cpp b/src/piechart/piepresenter.cpp index 362f828..88d053d 100644 --- a/src/piechart/piepresenter.cpp +++ b/src/piechart/piepresenter.cpp @@ -128,6 +128,7 @@ void PiePresenter::addSlice(QPieSlice* sliceData) // create slice PieSlice *slice = new PieSlice(this); + slice->setPieRect(m_pieRect); slice->updateData(sliceData); m_slices.insert(sliceData, slice);