Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
0 additions
and
5 deletions.
-
+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; |
|
|
} |
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.