mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-07 00:15:48 -04:00
Fix style.
This commit is contained in:
parent
c291a17d42
commit
6b9fb087c2
@ -81,6 +81,8 @@ IndividualLayerSettings
|
||||
:param type:
|
||||
:param tolerance:
|
||||
:param units:
|
||||
:param minScale:
|
||||
:param maxScale:
|
||||
|
||||
.. deprecated:: QGIS 3.12
|
||||
use the method with SnappingTypeFlag instead.
|
||||
@ -96,6 +98,7 @@ IndividualLayerSettings
|
||||
:param units:
|
||||
:param minScale:
|
||||
:param maxScale:
|
||||
|
||||
.. versionadded:: 3.12
|
||||
%End
|
||||
|
||||
|
@ -156,7 +156,7 @@ void QgsSnappingLayerDelegate::setEditorData( QWidget *editor, const QModelIndex
|
||||
w->setCurrentIndex( w->findData( units ) );
|
||||
}
|
||||
}
|
||||
else if ( index.column() == QgsSnappingLayerTreeModel::MinScaleColumn)
|
||||
else if ( index.column() == QgsSnappingLayerTreeModel::MinScaleColumn )
|
||||
{
|
||||
QgsScaleWidget *w = qobject_cast<QgsScaleWidget *>( editor );
|
||||
if ( w )
|
||||
@ -214,7 +214,7 @@ void QgsSnappingLayerDelegate::setModelData( QWidget *editor, QAbstractItemModel
|
||||
model->setData( index, w->value(), Qt::EditRole );
|
||||
}
|
||||
}
|
||||
else if ( index.column() == QgsSnappingLayerTreeModel::MinScaleColumn)
|
||||
else if ( index.column() == QgsSnappingLayerTreeModel::MinScaleColumn )
|
||||
{
|
||||
QgsScaleWidget *w = qobject_cast<QgsScaleWidget *>( editor );
|
||||
if ( w )
|
||||
|
@ -131,7 +131,7 @@ class APP_EXPORT QgsSnappingWidget : public QWidget
|
||||
DisplayMode mDisplayMode;
|
||||
|
||||
//! modeChanged determines if widget are visible or not based on mode
|
||||
void modeChanged();
|
||||
void modeChanged( );
|
||||
|
||||
QgsProject *mProject = nullptr;
|
||||
QgsSnappingConfig mConfig;
|
||||
|
Loading…
x
Reference in New Issue
Block a user