Skip to content

Commit

Permalink
Remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanW2 committed Jun 20, 2016
1 parent 7a572c4 commit 03ea9fb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
4 changes: 0 additions & 4 deletions src/app/qgsvectorlayerproperties.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ QgsVectorLayerProperties::QgsVectorLayerProperties(
, mSaveAsMenu( nullptr )
, mLoadStyleMenu( nullptr )
, mRendererDialog( nullptr )
, mPanelWrapper( nullptr )
, labelingDialog( nullptr )
, labelDialog( nullptr )
, mActionDialog( nullptr )
Expand Down Expand Up @@ -1321,9 +1320,6 @@ void QgsVectorLayerProperties::updateSymbologyPage()
delete mRendererDialog;
mRendererDialog = nullptr;

delete mPanelWrapper;
mPanelWrapper = nullptr;

if ( mLayer->rendererV2() )
{
mRendererDialog = new QgsRendererV2PropertiesDialog( mLayer, QgsStyleV2::defaultStyle(), true, this );
Expand Down
3 changes: 0 additions & 3 deletions src/app/qgsvectorlayerproperties.h
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,6 @@ class APP_EXPORT QgsVectorLayerProperties : public QgsOptionsDialogBase, private

private slots:
void openPanel( QgsPanelWidget* panel );

private:
QgsPanelWidget* mPanelWrapper;
};

inline QString QgsVectorLayerProperties::displayName()
Expand Down

0 comments on commit 03ea9fb

Please sign in to comment.