fix tooltip leaking memory

This commit is contained in:
Jussi Kuokkanen 2023-08-16 09:54:29 +03:00
parent d736a9eaf1
commit 988de217e2

View File

@ -13,7 +13,7 @@ DragChartView::DragChartView(QWidget *parent) : QChartView(parent) {
setRenderHint(QPainter::Antialiasing);
m_toolTipLabel = new QLabel;
m_toolTipLabel = new QLabel{this};
m_toolTipLabel->setWindowFlag(Qt::ToolTip);
m_dragCanStart = false;