Skip to content
Permalink
Browse files

Fix runtime profiler handling of profile names with '/' characters

  • Loading branch information
nyalldawson committed May 19, 2020
1 parent 15b318b commit d03d190cb3cbc714ba6aa27d7ae7678a965ca3c1
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/core/qgsruntimeprofiler.cpp
@@ -59,7 +59,9 @@ void QgsRuntimeProfiler::start( const QString &name )
{
mProfileTime.push( QElapsedTimer() );
mProfileTime.top().restart();
mCurrentName.push( name );
QString cleanedName = name;
cleanedName.replace( '/', '_' );
mCurrentName.push( cleanedName );
}

void QgsRuntimeProfiler::end()

0 comments on commit d03d190

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