Skip to content
Permalink
Browse files

Removes unused reset parameter

  • Loading branch information
pblottiere committed Oct 21, 2018
1 parent f087f4a commit 16e0db40334977b2001fccba36836b6a70de6dbe
Showing with 6 additions and 6 deletions.
  1. +5 −5 src/app/qgsvectorlayerproperties.cpp
  2. +1 −1 src/app/qgsvectorlayerproperties.h
@@ -1602,7 +1602,7 @@ void QgsVectorLayerProperties::showHelp()
}
}

void QgsVectorLayerProperties::updateAuxiliaryStoragePage( bool reset )
void QgsVectorLayerProperties::updateAuxiliaryStoragePage()
{
const QgsAuxiliaryLayer *alayer = mLayer->auxiliaryLayer();

@@ -1675,7 +1675,7 @@ void QgsVectorLayerProperties::onAuxiliaryLayerNew()
QgsNewAuxiliaryLayerDialog dlg( mLayer, this );
if ( dlg.exec() == QDialog::Accepted )
{
updateAuxiliaryStoragePage( true );
updateAuxiliaryStoragePage();
}
}

@@ -1695,7 +1695,7 @@ void QgsVectorLayerProperties::onAuxiliaryLayerClear()
QApplication::setOverrideCursor( Qt::WaitCursor );
alayer->clear();
QApplication::restoreOverrideCursor();
updateAuxiliaryStoragePage( true );
updateAuxiliaryStoragePage();
mLayer->triggerRepaint();
}
}
@@ -1726,7 +1726,7 @@ void QgsVectorLayerProperties::onAuxiliaryLayerDelete()
mLayer->setAuxiliaryLayer(); // remove auxiliary layer
QgsAuxiliaryStorage::deleteTable( uri );
QApplication::restoreOverrideCursor();
updateAuxiliaryStoragePage( true );
updateAuxiliaryStoragePage();
mLayer->triggerRepaint();
}
}
@@ -1814,7 +1814,7 @@ void QgsVectorLayerProperties::deleteAuxiliaryField( int index )
labelingDialog->labelingGui()->deactivateField( static_cast<QgsPalLayerSettings::Property>( key ) );
}

updateAuxiliaryStoragePage( true );
updateAuxiliaryStoragePage();
mSourceFieldsPropertiesDialog->init();
}
}
@@ -222,7 +222,7 @@ class APP_EXPORT QgsVectorLayerProperties : public QgsOptionsDialogBase, private
//! Adds a new join to mJoinTreeWidget
void addJoinToTreeWidget( const QgsVectorLayerJoinInfo &join, int insertIndex = -1 );

void updateAuxiliaryStoragePage( bool reset = false );
void updateAuxiliaryStoragePage();
void deleteAuxiliaryField( int index );

QgsExpressionContext mContext;

0 comments on commit 16e0db4

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