Skip to content

Commit

Permalink
Fix various build warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jul 20, 2020
1 parent 33fe1ea commit ffe8f03
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 37 deletions.
8 changes: 5 additions & 3 deletions src/gui/qgsnewvectortabledialog.cpp
Expand Up @@ -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:
{
Expand All @@ -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:
{
Expand Down
34 changes: 0 additions & 34 deletions src/ui/qgsvectorlayersaveasdialogbase.ui
Expand Up @@ -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.