Commit 513c946f authored by Dennis Nienhüser's avatar Dennis Nienhüser
Browse files

Reduce progress output frequency

parent eada1f58
......@@ -80,7 +80,7 @@ void MbTileWriter::addTile(const QFileInfo &file, qint32 x, qint32 y, qint32 z)
}
++m_tileCounter;
if (m_reportProgress) {
if (m_reportProgress && m_tileCounter % 500 == 0) {
std::cout << "Tile " << std::right << std::setw(10) << m_tileCounter << ": ";
std::cout << "Adding " << z << '/' << x << '/' << y << '\r';
std::cout.flush();
......
Supports Markdown
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