[Marble-commits] KDE/kdeedu/marble/src/lib
Jens-Michael Hoffmann
jensmh at gmx.de
Tue Jan 19 03:58:40 CET 2010
SVN commit 1076912 by jmhoffmann:
GeoPainter::autoMapQuality() simplified.
M +1 -7 GeoPainter.cpp
--- trunk/KDE/kdeedu/marble/src/lib/GeoPainter.cpp #1076911:1076912
@@ -198,13 +198,7 @@
void GeoPainter::autoMapQuality()
{
- bool antialiased = false;
-
- if ( d->m_mapQuality == HighQuality
- || d->m_mapQuality == PrintQuality ) {
- antialiased = true;
- }
-
+ const bool antialiased = d->m_mapQuality == HighQuality || d->m_mapQuality == PrintQuality;
setRenderHint( QPainter::Antialiasing, antialiased );
}
More information about the Marble-commits
mailing list