Fix build with Qt 5.5

This commit is contained in:
Nyall Dawson 2018-04-10 10:14:12 +10:00
parent f66993edbb
commit 0a1a6769d2
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,6 @@ __revision__ = '$Format:%H$'
import os
from qgis.PyQt.QtGui import QIcon
from qgis.analysis import QgsRuggednessFilter
from qgis.core import (QgsRasterFileWriter,
QgsProcessingParameterRasterLayer,

View File

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