3 Avoid
"error: call of overloaded 'pow(int, int&)' is ambiguous".
5 --- kmail
/quotajobs
.h
.orig
2012-12-19 16:02:07.606082279 +0000
6 +++ kmail
/quotajobs
.h
2012-12-19 16:02:38.857687045 +0000
8 QString
toString() const {
9 if ( isValid() && !isEmpty() ) {
11 - int factor
= static_cast<int> ( pow( 1000, mFactor
) );
12 + int factor
= static_cast<int> ( pow( (double)1000, mFactor
) );
13 return i18n("%1 of %2 %3 used").arg( mCurrent
.toInt() / factor
)
14 .arg( mMax
.toInt() / factor
).arg( mUnits
);