Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix runtime profiler handling of profile names with '/' characters
  • Loading branch information
nyalldawson committed May 19, 2020
1 parent 15b318b commit d03d190
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/core/qgsruntimeprofiler.cpp
Expand Up @@ -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()
Expand Down

0 comments on commit d03d190

Please sign in to comment.