Skip to content
Permalink
Browse files

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 eab1c31f8652dd9445d2466834fb4f5534b67505
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgslogger.cpp
@@ -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

0 comments on commit eab1c31

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