From: Alexey Chernobaev Date: Sun, 11 Mar 2018 23:58:48 +0000 (+0300) Subject: fix QWT plot legend on Linux X-Git-Tag: submit/tizen/20180620.112952^2^2~64 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=937e29031c098bb5db561f7bacedfc3a0aea857d;p=sdk%2Ftools%2Fheaptrack.git fix QWT plot legend on Linux --- diff --git a/src/analyze/gui/chartwidget.cpp b/src/analyze/gui/chartwidget.cpp index 5a584eb..191255b 100644 --- a/src/analyze/gui/chartwidget.cpp +++ b/src/analyze/gui/chartwidget.cpp @@ -492,8 +492,6 @@ static QString getCurveTitle(QString label) void ChartWidget::updateQwtChart() { - setUpdatesEnabled(false); - int columns = m_model->columnCount(); int rows = m_model->rowCount(); @@ -553,9 +551,6 @@ void ChartWidget::updateQwtChart() } m_plot->replot(); - - setUpdatesEnabled(true); - update(); } #endif // QWT_FOUND diff --git a/src/heaptrack_gui.pro b/src/heaptrack_gui.pro index 76042ce..c021600 100644 --- a/src/heaptrack_gui.pro +++ b/src/heaptrack_gui.pro @@ -25,7 +25,7 @@ unix { DEFINES *= USE_CHART # uncomment the next line to use QWT instead of KChart -# CONFIG += QWT_CHART + CONFIG += QWT_CHART QWT_CHART { CONFIG *= NO_K_LIB NO_K_CHART QWT_CHART