[Marble-commits] KDE/kdeedu/marble/src/plugins/render/osmannotate
Jens-Michael Hoffmann
jensmh at gmx.de
Fri Jul 17 18:30:16 CEST 2009
SVN commit 998434 by jmhoffmann:
Simplify PlacemarkTextAnnotation::mousePressEvent.
M +1 -5 PlacemarkTextAnnotation.cpp
--- trunk/KDE/kdeedu/marble/src/plugins/render/osmannotate/PlacemarkTextAnnotation.cpp #998433:998434
@@ -142,11 +142,7 @@
bool PlacemarkTextAnnotation::mousePressEvent( QMouseEvent* event )
{
- if( bubble->isHidden() ) {
- bubble->setHidden( false );
- } else {
- bubble->setHidden( true );
- }
+ bubble->setHidden( !bubble->isHidden() );
return true;
}
More information about the Marble-commits
mailing list