Skip to content

Commit

Permalink
Fix build with Qt 5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Apr 10, 2018
1 parent f66993e commit 0a1a676
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion python/plugins/processing/algs/qgis/Ruggedness.py
Expand Up @@ -28,7 +28,6 @@
import os

from qgis.PyQt.QtGui import QIcon

from qgis.analysis import QgsRuggednessFilter
from qgis.core import (QgsRasterFileWriter,
QgsProcessingParameterRasterLayer,
Expand Down
3 changes: 2 additions & 1 deletion src/providers/postgres/qgspostgresprojectstoragedialog.cpp
Expand Up @@ -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 );

Expand Down

0 comments on commit 0a1a676

Please sign in to comment.