Skip to content

Commit 43dfb9c

Browse files
committed
indentation update
1 parent 29e4aea commit 43dfb9c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+168
-162
lines changed

src/app/composer/qgscomposer.cpp

100755100644
+4-3
Original file line numberDiff line numberDiff line change
@@ -3481,7 +3481,8 @@ void QgsComposer::updateAtlasMapLayerAction( bool atlasEnabled )
34813481

34823482
void QgsComposer::loadAtlasPredefinedScalesFromProject()
34833483
{
3484-
if ( !mComposition ) {
3484+
if ( !mComposition )
3485+
{
34853486
return;
34863487
}
34873488
QgsAtlasComposition& atlasMap = mComposition->atlasComposition();
@@ -3499,8 +3500,8 @@ void QgsComposer::loadAtlasPredefinedScalesFromProject()
34993500

35003501
for ( QStringList::const_iterator scaleIt = scales.constBegin(); scaleIt != scales.constEnd(); ++scaleIt )
35013502
{
3502-
QStringList parts(scaleIt->split(':'));
3503-
if (parts.size() == 2)
3503+
QStringList parts( scaleIt->split( ':' ) );
3504+
if ( parts.size() == 2 )
35043505
{
35053506
pScales.push_back( parts[1].toDouble() );
35063507
}

src/app/composer/qgscomposermapwidget.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ void QgsComposerMapWidget::on_mAtlasMarginRadio_toggled( bool checked )
199199
{
200200
mAtlasMarginSpinBox->setEnabled( checked );
201201

202-
if (checked && mComposerMap)
202+
if ( checked && mComposerMap )
203203
{
204204
mComposerMap->setAtlasScalingMode( QgsComposerMap::Auto );
205205
updateMapForAtlas();
@@ -224,7 +224,7 @@ void QgsComposerMapWidget::on_mAtlasFixedScaleRadio_toggled( bool checked )
224224
return;
225225
}
226226

227-
if (checked)
227+
if ( checked )
228228
{
229229
mComposerMap->setAtlasScalingMode( QgsComposerMap::Fixed );
230230
updateMapForAtlas();

src/app/legend/qgsapplegendinterface.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ bool QgsAppLegendInterface::removeLegendLayerAction( QAction* action )
324324
if ( !menuProvider )
325325
return false;
326326

327-
menuProvider->removeLegendLayerAction( action );
327+
return menuProvider->removeLegendLayerAction( action );
328328
}
329329

330330
QgsMapLayer* QgsAppLegendInterface::currentLayer()

src/app/qgsattributetabledialog.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -225,9 +225,9 @@ void QgsAttributeTableDialog::updateTitle()
225225
);
226226

227227
if ( mMainView->filterMode() == QgsAttributeTableFilterModel::ShowAll )
228-
mRunFieldCalc->setText( tr( "Update All") );
228+
mRunFieldCalc->setText( tr( "Update All" ) );
229229
else
230-
mRunFieldCalc->setText( tr( "Update Filtered") );
230+
mRunFieldCalc->setText( tr( "Update Filtered" ) );
231231
}
232232

233233
void QgsAttributeTableDialog::closeEvent( QCloseEvent* event )

src/app/qgsattributetypedialog.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
#include <climits>
3838
#include <cfloat>
3939

40-
QgsAttributeTypeDialog::QgsAttributeTypeDialog(QgsVectorLayer *vl , int fieldIdx )
40+
QgsAttributeTypeDialog::QgsAttributeTypeDialog( QgsVectorLayer *vl , int fieldIdx )
4141
: QDialog()
4242
, mLayer( vl )
4343
, mFieldIdx( fieldIdx )
@@ -112,7 +112,7 @@ const QgsEditorWidgetConfig QgsAttributeTypeDialog::editorWidgetV2Config()
112112

113113
void QgsAttributeTypeDialog::setWidgetV2Type( const QString& type )
114114
{
115-
for( int i = 0; i < selectionListWidget->count(); i++ )
115+
for ( int i = 0; i < selectionListWidget->count(); i++ )
116116
{
117117
QListWidgetItem* item = selectionListWidget->item( i );
118118
if ( item->data( Qt::UserRole ).toString() == type )

src/app/qgsfieldsproperties.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ void QgsFieldsProperties::setRow( int row, int idx, const QgsField& field )
230230
cfg.mButton = pb;
231231
mFieldsList->setCellWidget( row, attrEditTypeCol, pb );
232232

233-
connect( pb, SIGNAL( pressed() ), this, SLOT(attributeTypeDialog()) );
233+
connect( pb, SIGNAL( pressed() ), this, SLOT( attributeTypeDialog() ) );
234234

235235
setConfigForRow( row, cfg );
236236

@@ -421,7 +421,7 @@ void QgsFieldsProperties::attributeTypeDialog()
421421

422422
cfg.mEditorWidgetV2Type = attributeTypeDialog.editorWidgetV2Type();
423423
cfg.mEditorWidgetV2Config = attributeTypeDialog.editorWidgetV2Config();
424-
424+
425425
pb->setText( attributeTypeDialog.editorWidgetV2Text() );
426426

427427
setConfigForRow( row, cfg );

src/app/qgsidentifyresultsdialog.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ void QgsIdentifyResultsDialog::addFeature( QgsVectorLayer *vlayer, const QgsFeat
413413

414414
if ( widgetType == "Hidden" )
415415
delete attrItem;
416-
continue;
416+
continue;
417417

418418
value = representValue( vlayer, fields[i].name(), attrs[i] );
419419

src/core/composer/qgsatlascomposition.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,8 @@ void QgsAtlasComposition::prepareMap( QgsComposerMap* map )
493493
double ratio = scales[i] / scale;
494494
n_width = extent.width() * ratio;
495495
n_height = extent.height() * ratio;
496-
if ( (n_width >= new_extent.width()) && (n_height >= new_extent.height()) ) {
496+
if (( n_width >= new_extent.width() ) && ( n_height >= new_extent.height() ) )
497+
{
497498
// this is the smallest extent that embeds the feature, stop here
498499
break;
499500
}

src/core/composer/qgscomposermap.cpp

+6-4
Original file line numberDiff line numberDiff line change
@@ -1323,11 +1323,13 @@ bool QgsComposerMap::readXML( const QDomElement& itemElem, const QDomDocument& d
13231323
{
13241324
QDomElement atlasElem = atlasNodeList.at( 0 ).toElement();
13251325
mAtlasDriven = ( atlasElem.attribute( "atlasDriven", "0" ) != "0" );
1326-
if ( atlasElem.hasAttribute("fixedScale") ) { // deprecated XML
1327-
mAtlasScalingMode = (atlasElem.attribute( "fixedScale", "0" ) != "0") ? Fixed : Auto;
1326+
if ( atlasElem.hasAttribute( "fixedScale" ) ) // deprecated XML
1327+
{
1328+
mAtlasScalingMode = ( atlasElem.attribute( "fixedScale", "0" ) != "0" ) ? Fixed : Auto;
13281329
}
1329-
else if ( atlasElem.hasAttribute("scalingMode") ) {
1330-
mAtlasScalingMode = static_cast<AtlasScalingMode>(atlasElem.attribute("scalingMode").toInt());
1330+
else if ( atlasElem.hasAttribute( "scalingMode" ) )
1331+
{
1332+
mAtlasScalingMode = static_cast<AtlasScalingMode>( atlasElem.attribute( "scalingMode" ).toInt() );
13311333
}
13321334
mAtlasMargin = atlasElem.attribute( "margin", "0.1" ).toDouble();
13331335
}

src/core/pal/util.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ namespace pal
7474
int new_label;
7575
} ElemTrans;
7676

77-
struct Point {
77+
struct Point
78+
{
7879
double x, y;
7980
};
8081

src/core/qgsapplication.h

+10-10
Original file line numberDiff line numberDiff line change
@@ -279,13 +279,13 @@ class CORE_EXPORT QgsApplication : public QApplication
279279
* @note added in 2.0 */
280280
static void applyGdalSkippedDrivers();
281281

282-
/** Get maximum concurrent thread count
283-
* @note added in 2.4 */
284-
static int maxThreads() { return ABISYM( mMaxThreads ); }
285-
/** Set maximum concurrent thread count
286-
* @note must be between 1 and #cores, -1 means use all available cores
287-
* @note added in 2.4 */
288-
static void setMaxThreads( int maxThreads );
282+
/** Get maximum concurrent thread count
283+
* @note added in 2.4 */
284+
static int maxThreads() { return ABISYM( mMaxThreads ); }
285+
/** Set maximum concurrent thread count
286+
* @note must be between 1 and #cores, -1 means use all available cores
287+
* @note added in 2.4 */
288+
static void setMaxThreads( int maxThreads );
289289

290290
#ifdef ANDROID
291291
//dummy method to workaround sip generation issue issue
@@ -328,9 +328,9 @@ class CORE_EXPORT QgsApplication : public QApplication
328328
* @see skipGdalDriver, restoreGdalDriver
329329
* @note added in 2.0 */
330330
static QStringList ABISYM( mGdalSkipList );
331-
/**
332-
* @note added in 2.4 */
333-
static int ABISYM( mMaxThreads );
331+
/**
332+
* @note added in 2.4 */
333+
static int ABISYM( mMaxThreads );
334334
};
335335

336336
#endif

src/core/qgslegacyhelpers.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ QgsVectorLayer::EditType QgsLegacyHelpers::convertEditType( const QString& editT
241241
{
242242
return QgsVectorLayer::SliderRange;
243243
}
244-
else if ( cfg.value( "Style" ).toString() == "DialRange" )
244+
else if ( cfg.value( "Style" ).toString() == "DialRange" )
245245
{
246246
return QgsVectorLayer::DialRange;
247247
}

src/core/qgslegacyhelpers.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class CORE_EXPORT QgsLegacyHelpers
2828

2929
private:
3030
QgsLegacyHelpers()
31-
{}
31+
{}
3232
};
3333

3434
#endif // QGSLEGACYHELPERS_H

src/core/qgspallabeling.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -1013,9 +1013,9 @@ void QgsPalLayerSettings::readFromLayer( QgsVectorLayer* layer )
10131013
maxCurvedCharAngleOut = layer->customProperty( "labeling/maxCurvedCharAngleOut", QVariant( -20.0 ) ).toDouble();
10141014
priority = layer->customProperty( "labeling/priority" ).toInt();
10151015
repeatDistance = layer->customProperty( "labeling/repeatDistance", 0.0 ).toDouble();
1016-
repeatDistanceUnit = (SizeUnit) layer->customProperty( "labeling/repeatDistanceUnit", QVariant( MM )).toUInt();
1017-
repeatDistanceMapUnitScale.minScale = layer->customProperty( "labeling/repeatDistanceMapUnitMinScale", 0.0).toDouble();
1018-
repeatDistanceMapUnitScale.maxScale = layer->customProperty( "labeling/repeatDistanceMapUnitMaxScale", 0.0).toDouble();
1016+
repeatDistanceUnit = ( SizeUnit ) layer->customProperty( "labeling/repeatDistanceUnit", QVariant( MM ) ).toUInt();
1017+
repeatDistanceMapUnitScale.minScale = layer->customProperty( "labeling/repeatDistanceMapUnitMinScale", 0.0 ).toDouble();
1018+
repeatDistanceMapUnitScale.maxScale = layer->customProperty( "labeling/repeatDistanceMapUnitMaxScale", 0.0 ).toDouble();
10191019

10201020
// rendering
10211021
int scalemn = layer->customProperty( "labeling/scaleMin", QVariant( 0 ) ).toInt();
@@ -2260,7 +2260,7 @@ void QgsPalLayerSettings::registerFeature( QgsFeature& f, const QgsRenderContext
22602260
{
22612261
if ( !repeatdistinmapunit ) //convert distance from mm/map units to pixels
22622262
{
2263-
repeatDist *= repeatDistanceMapUnitScale.computeMapUnitsPerPixel(context) * context.scaleFactor();
2263+
repeatDist *= repeatDistanceMapUnitScale.computeMapUnitsPerPixel( context ) * context.scaleFactor();
22642264
}
22652265
else //mm
22662266
{

src/core/qgsvectorlayer.cpp

+17-17
Original file line numberDiff line numberDiff line change
@@ -1890,18 +1890,18 @@ bool QgsVectorLayer::writeSymbology( QDomNode& node, QDomDocument& doc, QString&
18901890
QDomElement editorLayoutElem = doc.createElement( "editorlayout" );
18911891
switch ( mEditorLayout )
18921892
{
1893-
case UiFileLayout:
1894-
editorLayoutElem.appendChild( doc.createTextNode( "uifilelayout" ) );
1895-
break;
1893+
case UiFileLayout:
1894+
editorLayoutElem.appendChild( doc.createTextNode( "uifilelayout" ) );
1895+
break;
18961896

1897-
case TabLayout:
1898-
editorLayoutElem.appendChild( doc.createTextNode( "tablayout" ) );
1899-
break;
1897+
case TabLayout:
1898+
editorLayoutElem.appendChild( doc.createTextNode( "tablayout" ) );
1899+
break;
19001900

1901-
case GeneratedLayout:
1902-
default:
1903-
editorLayoutElem.appendChild( doc.createTextNode( "generatedlayout" ) );
1904-
break;
1901+
case GeneratedLayout:
1902+
default:
1903+
editorLayoutElem.appendChild( doc.createTextNode( "generatedlayout" ) );
1904+
break;
19051905
}
19061906

19071907
node.appendChild( editorLayoutElem );
@@ -2566,12 +2566,12 @@ void QgsVectorLayer::setEditorLayout( EditorLayout editorLayout )
25662566

25672567
void QgsVectorLayer::setEditorWidgetV2( int attrIdx, const QString& widgetType )
25682568
{
2569-
mEditorWidgetV2Types[ mUpdatedFields[ attrIdx ].name() ] = widgetType;
2569+
mEditorWidgetV2Types[ mUpdatedFields[ attrIdx ].name()] = widgetType;
25702570
}
25712571

2572-
void QgsVectorLayer::setEditorWidgetV2Config(int attrIdx, const QgsEditorWidgetConfig& config )
2572+
void QgsVectorLayer::setEditorWidgetV2Config( int attrIdx, const QgsEditorWidgetConfig& config )
25732573
{
2574-
mEditorWidgetV2Configs[ mUpdatedFields[ attrIdx ].name() ] = config;
2574+
mEditorWidgetV2Configs[ mUpdatedFields[ attrIdx ].name()] = config;
25752575
}
25762576

25772577
QString QgsVectorLayer::editForm()
@@ -2608,10 +2608,10 @@ QgsVectorLayer::RangeData QgsVectorLayer::range( int idx )
26082608
{
26092609
const QgsEditorWidgetConfig cfg = editorWidgetV2Config( idx );
26102610
return RangeData(
2611-
cfg.value( "Min" ),
2612-
cfg.value( "Max" ),
2613-
cfg.value( "Step" )
2614-
);
2611+
cfg.value( "Min" ),
2612+
cfg.value( "Max" ),
2613+
cfg.value( "Step" )
2614+
);
26152615
}
26162616

26172617
QString QgsVectorLayer::dateFormat( int idx )

src/gui/attributetable/qgsattributetablefiltermodel.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,10 @@ void QgsAttributeTableFilterModel::setFilteredFeatures( QgsFeatureIds ids )
133133
QgsFeatureIds QgsAttributeTableFilterModel::filteredFeatures()
134134
{
135135
QgsFeatureIds ids;
136-
for (int i = 0; i < rowCount(); ++i)
136+
for ( int i = 0; i < rowCount(); ++i )
137137
{
138-
QModelIndex row = index( i, 0 );
139-
ids << rowToId( row );
138+
QModelIndex row = index( i, 0 );
139+
ids << rowToId( row );
140140
}
141141
return ids;
142142
}

src/gui/attributetable/qgsdualview.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ void QgsDualView::init( QgsVectorLayer* layer, QgsMapCanvas* mapCanvas, const Qg
6969

7070
mTableView->setModel( mFilterModel );
7171
mFeatureList->setModel( mFeatureListModel );
72-
mAttributeForm = new QgsAttributeForm( layer,QgsFeature(), mEditorContext );
72+
mAttributeForm = new QgsAttributeForm( layer, QgsFeature(), mEditorContext );
7373
mAttributeEditorScrollArea->setLayout( new QGridLayout() );
7474
mAttributeEditorScrollArea->layout()->addWidget( mAttributeForm );
7575
mAttributeEditorScrollArea->setWidget( mAttributeForm );

src/gui/attributetable/qgsfeaturelistview.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ void QgsFeatureListView::setEditSelection( const QgsFeatureIds &fids )
175175
mCurrentEditSelectionModel->select( selection, QItemSelectionModel::ClearAndSelect );
176176
}
177177

178-
void QgsFeatureListView::setEditSelection(const QModelIndex& index, QItemSelectionModel::SelectionFlags command )
178+
void QgsFeatureListView::setEditSelection( const QModelIndex& index, QItemSelectionModel::SelectionFlags command )
179179
{
180180
bool ok = true;
181181
emit aboutToChangeEditSelection( ok );

src/gui/attributetable/qgsfeaturelistview.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ class GUI_EXPORT QgsFeatureListView : public QListView
149149
*
150150
* @param index The selection to set
151151
*/
152-
void setEditSelection(const QModelIndex& index , QItemSelectionModel::SelectionFlags command );
152+
void setEditSelection( const QModelIndex& index, QItemSelectionModel::SelectionFlags command );
153153

154154
/**
155155
* Select all currently visible features

src/gui/editorwidgets/qgscolorwidget.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ class GUI_EXPORT QgsColorWidget : public QgsEditorWidgetWrapper
3131
QVariant value();
3232

3333
protected:
34-
QWidget*createWidget(QWidget* parent);
35-
void initWidget(QWidget* editor);
34+
QWidget*createWidget( QWidget* parent );
35+
void initWidget( QWidget* editor );
3636

3737
public slots:
38-
void setValue(const QVariant& value);
38+
void setValue( const QVariant& value );
3939

4040
private:
4141
QgsColorButton* mColorButton;

src/gui/editorwidgets/qgscolorwidgetfactory.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ QgsColorWidgetFactory::QgsColorWidgetFactory( const QString& name )
2424
}
2525

2626

27-
QgsEditorWidgetWrapper* QgsColorWidgetFactory::create(QgsVectorLayer* vl, int fieldIdx, QWidget* editor, QWidget* parent) const
27+
QgsEditorWidgetWrapper* QgsColorWidgetFactory::create( QgsVectorLayer* vl, int fieldIdx, QWidget* editor, QWidget* parent ) const
2828
{
2929
return new QgsColorWidget( vl, fieldIdx, editor, parent );
3030
}
3131

32-
QgsEditorConfigWidget* QgsColorWidgetFactory::configWidget(QgsVectorLayer* vl, int fieldIdx, QWidget* parent) const
32+
QgsEditorConfigWidget* QgsColorWidgetFactory::configWidget( QgsVectorLayer* vl, int fieldIdx, QWidget* parent ) const
3333
{
3434
return new QgsDummyConfigDlg( vl, fieldIdx, parent, QObject::tr( "Field contains a color." ) );
3535
}

src/gui/editorwidgets/qgscolorwidgetfactory.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ class GUI_EXPORT QgsColorWidgetFactory : public QgsEditorWidgetFactory
2525

2626
// QgsEditorWidgetFactory interface
2727
public:
28-
QgsEditorWidgetWrapper* create(QgsVectorLayer* vl, int fieldIdx, QWidget* editor, QWidget* parent) const;
29-
QgsEditorConfigWidget* configWidget(QgsVectorLayer* vl, int fieldIdx, QWidget* parent) const;
28+
QgsEditorWidgetWrapper* create( QgsVectorLayer* vl, int fieldIdx, QWidget* editor, QWidget* parent ) const;
29+
QgsEditorConfigWidget* configWidget( QgsVectorLayer* vl, int fieldIdx, QWidget* parent ) const;
3030
};
3131

3232
#endif // QGSCOLORWIDGETFACTORY_H

src/gui/editorwidgets/qgsdatetimeeditfactory.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ QgsEditorWidgetConfig QgsDateTimeEditFactory::readConfig( const QDomElement &con
4747
return cfg;
4848
}
4949

50-
void QgsDateTimeEditFactory::writeConfig(const QgsEditorWidgetConfig& config, QDomElement& configElement, QDomDocument& doc, const QgsVectorLayer* layer, int fieldIdx)
50+
void QgsDateTimeEditFactory::writeConfig( const QgsEditorWidgetConfig& config, QDomElement& configElement, QDomDocument& doc, const QgsVectorLayer* layer, int fieldIdx )
5151
{
5252
Q_UNUSED( doc );
5353
Q_UNUSED( layer );
@@ -58,7 +58,7 @@ void QgsDateTimeEditFactory::writeConfig(const QgsEditorWidgetConfig& config, QD
5858
configElement.setAttribute( "calendar_popup", config["calendar_popup"].toBool() );
5959
}
6060

61-
QString QgsDateTimeEditFactory::representValue(QgsVectorLayer* vl, int fieldIdx, const QgsEditorWidgetConfig& config, const QVariant& cache, const QVariant& value) const
61+
QString QgsDateTimeEditFactory::representValue( QgsVectorLayer* vl, int fieldIdx, const QgsEditorWidgetConfig& config, const QVariant& cache, const QVariant& value ) const
6262
{
6363
Q_UNUSED( vl )
6464
Q_UNUSED( fieldIdx )

src/gui/editorwidgets/qgsdatetimeeditfactory.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ class GUI_EXPORT QgsDateTimeEditFactory : public QgsEditorWidgetFactory
3232
QgsEditorWidgetWrapper *create( QgsVectorLayer *vl, int fieldIdx, QWidget *editor, QWidget *parent ) const;
3333
QgsEditorConfigWidget *configWidget( QgsVectorLayer *vl, int fieldIdx, QWidget *parent ) const;
3434
QgsEditorWidgetConfig readConfig( const QDomElement &configElement, QgsVectorLayer *layer, int fieldIdx );
35-
void writeConfig(const QgsEditorWidgetConfig& config, QDomElement& configElement, QDomDocument& doc, const QgsVectorLayer* layer, int fieldIdx);
36-
QString representValue(QgsVectorLayer* vl, int fieldIdx, const QgsEditorWidgetConfig& config, const QVariant& cache, const QVariant& value) const;
35+
void writeConfig( const QgsEditorWidgetConfig& config, QDomElement& configElement, QDomDocument& doc, const QgsVectorLayer* layer, int fieldIdx );
36+
QString representValue( QgsVectorLayer* vl, int fieldIdx, const QgsEditorWidgetConfig& config, const QVariant& cache, const QVariant& value ) const;
3737
};
3838

3939
#endif // QGSDATETIMEEDITFACTORY_H

src/gui/editorwidgets/qgsenumerationwidgetfactory.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ QgsEditorConfigWidget* QgsEnumerationWidgetFactory::configWidget( QgsVectorLayer
3636
}
3737

3838

39-
bool QgsEnumerationWidgetFactory::isFieldSupported(QgsVectorLayer* vl, int fieldIdx)
39+
bool QgsEnumerationWidgetFactory::isFieldSupported( QgsVectorLayer* vl, int fieldIdx )
4040
{
4141
QStringList list;
4242
vl->dataProvider()->enumValues( fieldIdx, list );

0 commit comments

Comments
 (0)