Skip to content
Permalink
Browse files

fix build

  • Loading branch information
jef-n committed Sep 22, 2017
1 parent 22eddfd commit d6d7c6e499ed4b9fead038f1e3640d8914a66863
Showing with 6 additions and 6 deletions.
  1. +4 −4 src/app/qgsappbrowserproviders.cpp
  2. +2 −2 src/app/qgsappbrowserproviders.h
@@ -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() );
@@ -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() );
@@ -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;


};
@@ -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;


};

1 comment on commit d6d7c6e

@nyalldawson

This comment has been minimized.

Copy link
Collaborator

@nyalldawson nyalldawson commented on d6d7c6e Sep 22, 2017

Thanks!

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