[Marble-commits] KDE/kdeedu/marble/src
Jens-Michael Hoffmann
jensmh at gmx.de
Thu Dec 24 07:02:37 CET 2009
SVN commit 1065682 by jmhoffmann:
When calculating how much space is needed for the status bar label,
use the translated version, otherwise the space might be not enough.
CCMAIL: rahn at kde.org
M +1 -2 marble_part.cpp
--- trunk/KDE/kdeedu/marble/src/marble_part.cpp #1065681:1065682
@@ -826,8 +826,7 @@
QString( "%1 00.000,0 mu" ).arg(DISTANCE_STRING);
m_distanceLabel = setupStatusBarLabel( templateDistanceString );
- const QString templateTileZoomLevelString =
- QString( "%1" ).arg( TILEZOOMLEVEL_STRING );
+ const QString templateTileZoomLevelString = i18n( TILEZOOMLEVEL_STRING );
m_tileZoomLevelLabel = setupStatusBarLabel( templateTileZoomLevelString );
connect( m_controlView->marbleWidget(), SIGNAL( mouseMoveGeoPosition( QString ) ),
More information about the Marble-commits
mailing list