[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [marble] src/lib/routing: don't connect the same signal twice
From:       Niko Sams <niko.sams () gmail ! com>
Date:       2011-10-08 14:22:12
Message-ID: 20111008142212.8958AA60A6 () git ! kde ! org
[Download RAW message or body]

Git commit 8e4841179b21be0ac58b19e255ca92e77c8a4d02 by Niko Sams.
Committed on 08/10/2011 at 16:21.
Pushed by nsams into branch 'master'.

don't connect the same signal twice

M  +0    -2    src/lib/routing/RoutingWidget.cpp

http://commits.kde.org/marble/8e4841179b21be0ac58b19e255ca92e77c8a4d02

diff --git a/src/lib/routing/RoutingWidget.cpp b/src/lib/routing/RoutingWidget.cpp
index 8614f7f..9379ae1 100644
--- a/src/lib/routing/RoutingWidget.cpp
+++ b/src/lib/routing/RoutingWidget.cpp
@@ -230,8 +230,6 @@ RoutingWidget::RoutingWidget( MarbleWidget *marbleWidget, QWidget *parent ) :
              this, SLOT( showDirections() ) );
     connect( d->m_ui.configureButton, SIGNAL( clicked() ),
              this, SLOT( configureProfile() ) );
-    connect( d->m_ui.routeComboBox, SIGNAL( currentIndexChanged( int ) ),
-             this, SLOT( switchRoute( int ) ) );
 
     for( int i=0; i<d->m_routeRequest->size(); ++i ) {
         insertInputWidget( i );

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic