Skip to content

Commit

Permalink
No need to register QgsStringRelay with Qt Meta Type
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Nov 8, 2012
1 parent d218d0a commit 6abedba
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/gui/qgsattributeeditor.h
Expand Up @@ -85,15 +85,10 @@ class QgsStringRelay : public QObject
Q_OBJECT

public:
QgsStringRelay()
: QObject( NULL ) {}

QgsStringRelay( QObject* parent )
QgsStringRelay( QObject* parent = NULL )
: QObject( parent ) {}

QgsStringRelay( const QgsStringRelay& sr )
: QObject( sr.parent() ) {}

public slots:
void changeText( QString str )
{
Expand All @@ -104,6 +99,4 @@ public slots:
void textChanged( QString );
};

Q_DECLARE_METATYPE( QgsStringRelay )

#endif

0 comments on commit 6abedba

Please sign in to comment.