[Marble-commits] KDE/kdeedu/marble/src/lib
Dennis Nienhüser
earthwings at gentoo.org
Thu May 13 09:45:39 CEST 2010
SVN commit 1126180 by nienhueser:
Improve code readability.
M +1 -1 MarbleControlBox.cpp
--- trunk/KDE/kdeedu/marble/src/lib/MarbleControlBox.cpp #1126179:1126180
@@ -323,7 +323,7 @@
foreach( const PositionProviderPlugin *plugin, d->m_positionProviderPlugins ) {
d->uiWidget.positionTrackingComboBox->addItem( plugin->guiString() );
}
- if ( !d->m_positionProviderPlugins.size() ) {
+ if ( d->m_positionProviderPlugins.isEmpty() ) {
d->uiWidget.positionTrackingComboBox->setEnabled( false );
QString html = "<p>No Position Tracking Plugin installed.</p>";
d->uiWidget.locationLabel->setText( html );
More information about the Marble-commits
mailing list