Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Sep 22, 2017
1 parent 22eddfd commit d6d7c6e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/app/qgsappbrowserproviders.cpp
Expand Up @@ -164,9 +164,9 @@ bool QgsQptDataItem::handleDoubleClick()
return true;
}

QList<QAction *> QgsQptDataItem::actions()
QList<QAction *> QgsQptDataItem::actions( QWidget *parent )
{
QAction *newLayout = new QAction( tr( "New Layout from Template" ), this );
QAction *newLayout = new QAction( tr( "New Layout from Template" ), parent );
connect( newLayout, &QAction::triggered, this, [ = ]
{
QgisApp::instance()->openTemplate( path() );
Expand Down Expand Up @@ -207,9 +207,9 @@ bool QgsPyDataItem::handleDoubleClick()
return true;
}

QList<QAction *> QgsPyDataItem::actions()
QList<QAction *> QgsPyDataItem::actions( QWidget *parent )
{
QAction *runScript = new QAction( tr( "&Run Script" ), this );
QAction *runScript = new QAction( tr( "&Run Script" ), parent );
connect( runScript, &QAction::triggered, this, [ = ]
{
QgisApp::instance()->runScript( path() );
Expand Down
4 changes: 2 additions & 2 deletions src/app/qgsappbrowserproviders.h
Expand Up @@ -69,7 +69,7 @@ class QgsQptDataItem : public QgsDataItem
bool hasDragEnabled() const override;
QgsMimeDataUtils::Uri mimeUri() const override;
bool handleDoubleClick() override;
QList< QAction * > actions() override;
QList< QAction * > actions( QWidget *parent ) override;


};
Expand Down Expand Up @@ -112,7 +112,7 @@ class QgsPyDataItem : public QgsDataItem
bool hasDragEnabled() const override;
QgsMimeDataUtils::Uri mimeUri() const override;
bool handleDoubleClick() override;
QList< QAction * > actions() override;
QList< QAction * > actions( QWidget *parent ) override;


};
Expand Down

1 comment on commit d6d7c6e

@nyalldawson
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Please sign in to comment.