Commit f0318678 authored by Stéphane Albert's avatar Stéphane Albert
Browse files

REFAC: Indented code.

parent 6d8f9f65
......@@ -324,13 +324,15 @@ MultiResolutionPyramidWidget
// It fixes compile-time:
// error: call of pow(unsigned int, unsigned int) is ambiguous
double rf = m_GDALOverviewsBuilder->GetResolutionFactor();
int m = count -
int m =
count -
std::min(
m_GDALOverviewsBuilder->GetNbResolutions(),
count
);
);
m_UI->sizeSpinBox->setValue(
m_UI->sizeSpinBox->setValue(
static_cast< int >(
std::pow( rf, m )
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment