Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove space before line number in log messages
Because this means you can copy the filename:linenumber combo and
enter it directly in QtCreator's locator without having to manually
remove that extra space.

It's the little things...

(cherry picked from commit eab1c31)
  • Loading branch information
nyalldawson committed Feb 7, 2019
1 parent 519b8ff commit ab6057f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgslogger.cpp
Expand Up @@ -85,7 +85,7 @@ void QgsLogger::debug( const QString &msg, int debuglevel, const char *file, con
if ( line != -1 )
{
#ifndef _MSC_VER
m.prepend( QStringLiteral( ": %1:" ).arg( line ) );
m.prepend( QStringLiteral( ":%1 :" ).arg( line ) );
#else
m.prepend( QString( "(%1) :" ).arg( line ) );
#endif
Expand Down

0 comments on commit ab6057f

Please sign in to comment.