mirror of
https://github.com/Lurkki14/tuxclocker.git
synced 2025-02-25 18:55:24 -06:00
fix tooltip leaking memory
This commit is contained in:
parent
d736a9eaf1
commit
988de217e2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user