[Marble-commits] KDE/kdeedu/marble/src/lib
Jens-Michael Hoffmann
jensmh at gmx.de
Mon Mar 29 07:49:35 CEST 2010
SVN commit 1108521 by jmhoffmann:
Simplify MarbleControlBox::searchReturnPressed.
M +1 -4 MarbleControlBox.cpp
--- trunk/KDE/kdeedu/marble/src/lib/MarbleControlBox.cpp #1108520:1108521
@@ -528,11 +528,8 @@
void MarbleControlBox::searchReturnPressed()
{
// do nothing if search term empty
- if ( d->m_searchTerm.isEmpty() ) {
- return;
- } else {
+ if ( !d->m_searchTerm.isEmpty() ) {
d->m_runnerManager->newText( d->m_searchTerm );
- return;
}
}
More information about the Marble-commits
mailing list