mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Fix various build warnings
This commit is contained in:
parent
33fe1eac27
commit
ffe8f03bb0
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user