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...

(cherry picked from commit eab1c31)
  • Loading branch information
nyalldawson committed Feb 5, 2019
1 parent 519b8ff commit ab6057fe5c9d877f35c45bab05b750ca9bf5de07
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 ab6057f

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