mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-18 03:52:11 +01:00
Redefined isIntermediateValueHelper
as class static.
This commit is contained in:
parent
9ebc32da3d
commit
76b0d3b1da
@ -492,7 +492,7 @@ QString QScienceSpinBox::stripped(const QString &t, int *pos) const
|
||||
}
|
||||
|
||||
// reimplemented function, copied from qspinbox.cpp
|
||||
static bool isIntermediateValueHelper(qint64 num, qint64 min, qint64 max, qint64 *match)
|
||||
bool QScienceSpinBox::isIntermediateValueHelper(qint64 num, qint64 min, qint64 max, qint64 *match)
|
||||
{
|
||||
QSBDEBUG("%lld %lld %lld", num, min, max);
|
||||
|
||||
|
@ -11,7 +11,6 @@
|
||||
#include <QtCore/QDebug>
|
||||
#include <QtCore/QString>
|
||||
|
||||
static bool isIntermediateValueHelper(qint64 num, qint64 minimum, qint64 maximum, qint64 *match = 0);
|
||||
|
||||
class QScienceSpinBox : public QDoubleSpinBox
|
||||
{
|
||||
@ -24,6 +23,7 @@ public:
|
||||
|
||||
QString textFromValue ( double value ) const;
|
||||
double valueFromText ( const QString & text ) const;
|
||||
static bool isIntermediateValueHelper(qint64 num, qint64 minimum, qint64 maximum, qint64 *match = 0);
|
||||
|
||||
private:
|
||||
int dispDecimals;
|
||||
|
Loading…
x
Reference in New Issue
Block a user