Crash in qwt_date_scale_engine.cpp
Closed this issue · 1 comments
oss81 commented
Hi,
the function
static QList< double > qwtDstTicks( const QDateTime& dateTime, int secondsMajor, int secondsMinor )
crashes when secondsMajor
is 0
I guess the code at the start
if ( secondsMinor <= 0 ) QList< double >();
should be
if ( secondsMinor <= 0 ) return QList< double >();