Skip to content
Permalink
Browse files

Move definition to class

  • Loading branch information
m-kuhn committed Sep 21, 2017
1 parent 15e650d commit 7b14d4870d9e8f4d4118a07cbc167ee2c2c4077b
Showing with 5 additions and 5 deletions.
  1. +5 −5 src/app/qgsvectorlayerproperties.h
@@ -59,7 +59,10 @@ class APP_EXPORT QgsVectorLayerProperties : public QgsOptionsDialogBase, private
QgsVectorLayerProperties( QgsVectorLayer *lyr = nullptr, QWidget *parent = nullptr, Qt::WindowFlags fl = QgsGuiUtils::ModalDialogFlags );

//! Returns the display name entered in the dialog
QString displayName();
QString displayName()
{
return txtDisplayName->text();
}
void setRendererDirty( bool ) {}

/** Adds an attribute to the table (but does not commit it yet)
@@ -206,8 +209,5 @@ class APP_EXPORT QgsVectorLayerProperties : public QgsOptionsDialogBase, private
void openPanel( QgsPanelWidget *panel );
};

inline QString QgsVectorLayerProperties::displayName()
{
return txtDisplayName->text();
}

#endif

0 comments on commit 7b14d48

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