diff options
Diffstat (limited to 'stats/boxseries.cpp')
-rw-r--r-- | stats/boxseries.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/stats/boxseries.cpp b/stats/boxseries.cpp index def20477e..b3dc2e5bd 100644 --- a/stats/boxseries.cpp +++ b/stats/boxseries.cpp @@ -4,6 +4,7 @@ #include "statscolors.h" #include "statshelper.h" #include "statstranslations.h" +#include "statsview.h" #include "zvalues.h" #include <QLocale> @@ -149,7 +150,7 @@ bool BoxSeries::hover(QPointF pos) Item &item = *items[highlighted]; item.highlight(true); if (!information) - information = createItemPtr<InformationBox>(scene); + information = view.createChartItem<InformationBox>(); information->setText(formatInformation(item), pos); } else { information.reset(); |