Skip to content
Permalink
Browse files

Fix build with Qt 5.5

  • Loading branch information
nyalldawson committed Apr 10, 2018
1 parent f66993e commit 0a1a6769d2604ec6098f0b0d581e5c3636e13d0e
@@ -28,7 +28,6 @@
import os

from qgis.PyQt.QtGui import QIcon

from qgis.analysis import QgsRuggednessFilter
from qgis.core import (QgsRasterFileWriter,
QgsProcessingParameterRasterLayer,
@@ -22,7 +22,8 @@ QgsPostgresProjectStorageDialog::QgsPostgresProjectStorageDialog( bool saving, Q

QPushButton *btnManageProjects = new QPushButton( tr( "Manage Projects" ), this );
QMenu *menuManageProjects = new QMenu( btnManageProjects );
mActionRemoveProject = menuManageProjects->addAction( tr( "Remove Project" ), this, &QgsPostgresProjectStorageDialog::removeProject );
mActionRemoveProject = menuManageProjects->addAction( tr( "Remove Project" ) );
connect( mActionRemoveProject, &QAction::triggered, this, &QgsPostgresProjectStorageDialog::removeProject );
btnManageProjects->setMenu( menuManageProjects );
buttonBox->addButton( btnManageProjects, QDialogButtonBox::ActionRole );

0 comments on commit 0a1a676

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