mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 08:08:42 +00:00
turn off tooltips in PowerHist
With some versions of Qt/Qwt, tooltips cause an infinite recursion. We don't know why this happens yet, but this patch at least prevents crashes while we figure it out.
This commit is contained in:
@@ -38,7 +38,10 @@ class penTooltip: public QwtPlotZoomer
|
||||
penTooltip(QwtPlotCanvas *canvas):
|
||||
QwtPlotZoomer(canvas)
|
||||
{
|
||||
setTrackerMode(AlwaysOn);
|
||||
// With some versions of Qt/Qwt, setting this to AlwaysOn
|
||||
// causes an infinite recursion.
|
||||
//setTrackerMode(AlwaysOn);
|
||||
setTrackerMode(AlwaysOff);
|
||||
}
|
||||
|
||||
virtual QwtText trackerText(const QwtDoublePoint &pos) const
|
||||
|
||||
Reference in New Issue
Block a user