Skip to content
Permalink
Browse files

Fix various build warnings

  • Loading branch information
nyalldawson committed Jul 20, 2020
1 parent 33fe1ea commit ffe8f03bb010aaa91364f3325cba3e41c0c3ca0e
Showing with 5 additions and 37 deletions.
  1. +5 −3 src/gui/qgsnewvectortabledialog.cpp
  2. +0 −34 src/ui/qgsvectorlayersaveasdialogbase.ui
@@ -565,7 +565,10 @@ QVariant QgsNewVectorTableFieldModel::data( const QModelIndex &index, int role )
{
return field.length();
}
default:
break;
}
return QgsFieldModel::data( index, role );
}
case Qt::ItemDataRole::TextAlignmentRole:
{
@@ -577,10 +580,9 @@ QVariant QgsNewVectorTableFieldModel::data( const QModelIndex &index, int role )
return Qt::AlignmentFlag::AlignVCenter + Qt::AlignmentFlag::AlignHCenter;
}
default:
{
return QgsFieldModel::data( index, role );
}
break;
}
return QgsFieldModel::data( index, role );
}
default:
{
@@ -514,38 +514,4 @@
<tabstop>mAddToCanvas</tabstop>
</tabstops>
<resources/>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>QgsVectorLayerSaveAsDialogBase</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>266</x>
<y>268</y>
</hint>
<hint type="destinationlabel">
<x>157</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>QgsVectorLayerSaveAsDialogBase</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>334</x>
<y>268</y>
</hint>
<hint type="destinationlabel">
<x>286</x>
<y>274</y>
</hint>
</hints>
</connection>
</connections>
</ui>

0 comments on commit ffe8f03

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