Skip to content
Permalink
Browse files

display categories stack in an external dialog

  • Loading branch information
3nids committed Feb 28, 2018
1 parent fc2ba14 commit b957e1740806d4c8a7e4c4ea032dcb1b192f449a
Showing with 3 additions and 3 deletions.
  1. +1 −1 src/app/qgisapp.cpp
  2. +2 −2 src/core/qgsreadwritecontext.cpp
@@ -11244,7 +11244,7 @@ void QgisApp::loadingLayerMessages( const QString &layerName, const QList<QgsRea
{
for ( const auto message : messages )
{
messageBar()->pushMessage( layerName, message.message(), message.level() );
messageBar()->pushMessage( layerName, message.message(), message.categories().join( '\n' ), message.level() );
}
}

@@ -40,13 +40,13 @@ void QgsReadWriteContext::enterCategory( const QString &category, const QString
QString message = category;
if ( !details.isEmpty() )
message.append( QString( " :: %1" ).arg( details ) );
mCategories.push_front( message );
mCategories.push_back( message );
}

void QgsReadWriteContext::leaveCategory()
{
if ( !mCategories.isEmpty() )
mCategories.pop_front();
mCategories.pop_back();
}

QList<QgsReadWriteContext::ReadWriteMessage > QgsReadWriteContext::takeMessages()

0 comments on commit b957e17

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