Skip to content

Commit

Permalink
remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy authored and nyalldawson committed Jan 31, 2025
1 parent 2e3be25 commit 9f7f9d7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/providers/wfs/qgswfssourceselect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -527,9 +527,8 @@ void QgsWFSSourceSelect::addButtonClicked()
continue;
}
int row = idx.row();
QString typeName = mModel->item( row, MODEL_IDX_NAME )->text(); //WFS repository's name for layer
QString titleName = mModel->item( row, MODEL_IDX_TITLE )->text(); //WFS type name title for layer name (if option is set)
QString sql = mModel->item( row, MODEL_IDX_SQL )->text(); //optional SqL specified by user
QString typeName = mModel->item( row, MODEL_IDX_NAME )->text(); //WFS repository's name for layer
QString sql = mModel->item( row, MODEL_IDX_SQL )->text(); //optional SqL specified by user
QString layerName = typeName;
QgsDebugMsgLevel( "Layer " + typeName + " SQL is " + sql, 3 );

Expand Down

0 comments on commit 9f7f9d7

Please sign in to comment.