[Marble-commits] KDE/kdeedu/marble/src/lib
Jens-Michael Hoffmann
jensmh at gmx.de
Tue Jan 19 06:46:08 CET 2010
SVN commit 1076941 by jmhoffmann:
AbstractDataPluginModel::itemExists() simplified.
M +1 -6 AbstractDataPluginModel.cpp
--- trunk/KDE/kdeedu/marble/src/lib/AbstractDataPluginModel.cpp #1076940:1076941
@@ -362,12 +362,7 @@
bool AbstractDataPluginModel::itemExists( const QString& id ) const
{
- if ( findItem( id ) ) {
- return true;
- }
- else {
- return false;
- }
+ return findItem( id );
}
void AbstractDataPluginModel::setItemSettings( QHash<QString,QVariant> itemSettings )
More information about the Marble-commits
mailing list