Skip to content
Permalink
Browse files

Re-enable QgsProjectProperties::checkPageWidgetNameMap

  • Loading branch information
mhugent committed Jan 2, 2019
1 parent 583674b commit a145847ca7afdb99a13973ef8d6150ef0db70e95
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/app/qgsprojectproperties.cpp
@@ -2313,7 +2313,6 @@ void QgsProjectProperties::showHelp()

void QgsProjectProperties::checkPageWidgetNameMap()
{
#if 0
const QMap< QString, QString > pageNames = QgisApp::instance()->projectPropertiesPagesMap();
Q_ASSERT_X( pageNames.count() == mOptionsListWidget->count(), "QgsProjectProperties::checkPageWidgetNameMap()", "QgisApp::projectPropertiesPagesMap() is outdated, contains too many entries" );
for ( int idx = 0; idx < mOptionsListWidget->count(); ++idx )
@@ -2325,7 +2324,6 @@ void QgsProjectProperties::checkPageWidgetNameMap()
Q_ASSERT_X( pageNames.contains( title ), "QgsProjectProperties::checkPageWidgetNameMap()", QStringLiteral( "QgisApp::projectPropertiesPagesMap() is outdated, please update. Missing %1" ).arg( title ).toLocal8Bit().constData() );
Q_ASSERT_X( pageNames.value( title ) == name, "QgsProjectProperties::checkPageWidgetNameMap()", QStringLiteral( "QgisApp::projectPropertiesPagesMap() is outdated, please update. %1 should be %2 not %3" ).arg( title, name, pageNames.value( title ) ).toLocal8Bit().constData() );
}
#endif //0
}

void QgsProjectProperties::setCurrentPage( const QString &pageWidgetName )

0 comments on commit a145847

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