Skip to content
Permalink
Browse files

Fix warnings

  • Loading branch information
nyalldawson committed Mar 12, 2019
1 parent f0f825a commit 8a1ba51631557c8e338396bf9ebaf7c9a30c62d3
Showing with 0 additions and 5 deletions.
  1. +0 −5 src/app/qgsdatumtransformtablewidget.cpp
@@ -99,14 +99,12 @@ QVariant QgsDatumTransformTableModel::data( const QModelIndex &index, int role )
QFont font;
font.setPointSize( font.pointSize() - 1 );
return font;
break;
}
case Qt::DisplayRole:
switch ( index.column() )
{
case SourceCrsColumn:
return sourceCrs;
break;
case SourceTransformColumn:
if ( sourceTransform != -1 )
{
@@ -115,7 +113,6 @@ QVariant QgsDatumTransformTableModel::data( const QModelIndex &index, int role )
break;
case DestinationCrsColumn:
return destinationCrs;
break;
case DestinationTransformColumn:
if ( destinationTransform != -1 )
{
@@ -131,10 +128,8 @@ QVariant QgsDatumTransformTableModel::data( const QModelIndex &index, int role )
{
case SourceTransformColumn:
return sourceTransform;
break;
case DestinationTransformColumn:
return destinationTransform;
break;
default:
break;
}

0 comments on commit 8a1ba51

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