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...
  • Loading branch information
nyalldawson committed Feb 6, 2019
1 parent 2745dfe commit eab1c31
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 eab1c31

Please sign in to comment.