Skip to content
Permalink
Browse files

fix warning: use editTextChanged signal instead of textChanged one fo…

…r QComboBox
  • Loading branch information
slarosa committed Jan 29, 2016
1 parent 909910e commit 70d5c1b74e7d05db335d9b144c3a17ec95a1e09c
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/app/qgsoptions.cpp
  2. +1 −1 src/plugins/gps_importer/qgsgpsplugingui.cpp
@@ -89,7 +89,7 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WindowFlags fl ) :

connect( cmbIconSize, SIGNAL( activated( const QString& ) ), this, SLOT( iconSizeChanged( const QString& ) ) );
connect( cmbIconSize, SIGNAL( highlighted( const QString& ) ), this, SLOT( iconSizeChanged( const QString& ) ) );
connect( cmbIconSize, SIGNAL( textChanged( const QString& ) ), this, SLOT( iconSizeChanged( const QString& ) ) );
connect( cmbIconSize, SIGNAL( editTextChanged( const QString& ) ), this, SLOT( iconSizeChanged( const QString& ) ) );

connect( this, SIGNAL( accepted() ), this, SLOT( saveOptions() ) );
connect( this, SIGNAL( rejected() ), this, SLOT( rejectOptions() ) );
@@ -69,7 +69,7 @@ QgsGPSPluginGui::QgsGPSPluginGui( const BabelMap& importers,
this, SLOT( enableRelevantControls() ) );
connect( leDLBasename, SIGNAL( textChanged( const QString& ) ),
this, SLOT( enableRelevantControls() ) );
connect( cmbULLayer, SIGNAL( textChanged( QString ) ),
connect( cmbULLayer, SIGNAL( editTextChanged( const QString& ) ),
this, SLOT( enableRelevantControls() ) );
connect( tabWidget, SIGNAL( currentChanged( int ) ),
this, SLOT( enableRelevantControls() ) );

0 comments on commit 70d5c1b

Please sign in to comment.
You can’t perform that action at this time.