~neon/kolourpaint/master

« back to all changes in this revision

Viewing changes to widgets/imagelib/effects/kpEffectBalanceWidget.cpp

  • Committer: Tomaz Canabrava
  • Author(s): André Agenor
  • Date: 2019-02-14 09:40:06 UTC
  • Revision ID: git-v1:d69b9ee1426dba5b270a8264a5e2a441998744f0
Replace some math macro definitions

Summary: Remove some unused include of math and add a std:: scope to math functions

Reviewers: tcanabrava

Reviewed By: tcanabrava

Differential Revision: https://phabricator.kde.org/D18876

Show diffs side-by-side

added added

removed removed

Lines of Context:
235
235
{
236
236
    m_gammaLabel->setText (
237
237
        QLatin1String (" ") +
238
 
        QString::number (pow (10, gamma () / 50.0),
 
238
        QString::number (std::pow (10, gamma () / 50.0),
239
239
                         'f'/*[-]9.9*/,
240
240
                         2/*precision*/) +
241
241
        QLatin1String (" "));