Skip to content

Commit 70d5c1b

Browse files
committedJan 29, 2016
fix warning: use editTextChanged signal instead of textChanged one for QComboBox
1 parent 909910e commit 70d5c1b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎src/app/qgsoptions.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WindowFlags fl ) :
8989

9090
connect( cmbIconSize, SIGNAL( activated( const QString& ) ), this, SLOT( iconSizeChanged( const QString& ) ) );
9191
connect( cmbIconSize, SIGNAL( highlighted( const QString& ) ), this, SLOT( iconSizeChanged( const QString& ) ) );
92-
connect( cmbIconSize, SIGNAL( textChanged( const QString& ) ), this, SLOT( iconSizeChanged( const QString& ) ) );
92+
connect( cmbIconSize, SIGNAL( editTextChanged( const QString& ) ), this, SLOT( iconSizeChanged( const QString& ) ) );
9393

9494
connect( this, SIGNAL( accepted() ), this, SLOT( saveOptions() ) );
9595
connect( this, SIGNAL( rejected() ), this, SLOT( rejectOptions() ) );

‎src/plugins/gps_importer/qgsgpsplugingui.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ QgsGPSPluginGui::QgsGPSPluginGui( const BabelMap& importers,
6969
this, SLOT( enableRelevantControls() ) );
7070
connect( leDLBasename, SIGNAL( textChanged( const QString& ) ),
7171
this, SLOT( enableRelevantControls() ) );
72-
connect( cmbULLayer, SIGNAL( textChanged( QString ) ),
72+
connect( cmbULLayer, SIGNAL( editTextChanged( const QString& ) ),
7373
this, SLOT( enableRelevantControls() ) );
7474
connect( tabWidget, SIGNAL( currentChanged( int ) ),
7575
this, SLOT( enableRelevantControls() ) );

0 commit comments

Comments
 (0)