Skip to content
Permalink
Browse files
Remove another use of old iface methods
  • Loading branch information
nyalldawson committed Mar 21, 2017
1 parent 53160c7 commit 2e94f7de4cd78b8a805b56a6e28ea921aec06af4
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/app/qgsprojectproperties.cpp
@@ -1367,12 +1367,12 @@ void QgsProjectProperties::on_pbnWMSSetUsedSRS_clicked()

void QgsProjectProperties::on_mAddWMSComposerButton_clicked()
{
QSet<QgsComposer *> projectComposers = QgisApp::instance()->printComposers();
QList<QgsComposition *> projectComposers = QgsProject::instance()->layoutManager()->compositions();
QStringList composerTitles;
QSet<QgsComposer *>::const_iterator cIt = projectComposers.constBegin();
QList<QgsComposition *>::const_iterator cIt = projectComposers.constBegin();
for ( ; cIt != projectComposers.constEnd(); ++cIt )
{
composerTitles << ( *cIt )->title();
composerTitles << ( *cIt )->name();
}

bool ok;

0 comments on commit 2e94f7d

Please sign in to comment.