Skip to content
Permalink
Browse files

Don't cut the filename if he is relative

  • Loading branch information
sbrunner authored and m-kuhn committed Jun 11, 2016
1 parent 7040ad4 commit 270938cbd3b82fc9d391ba2e7a2613a5c8f1327b
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgslogger.cpp
@@ -95,7 +95,7 @@ void QgsLogger::debug( const QString& msg, int debuglevel, const char* file, con
}

#ifndef _MSC_VER
m.prepend( file + sPrefixLength );
m.prepend( file + ( file[0] == '/' ? sPrefixLength : 0 ) );
#else
m.prepend( file );
#endif

0 comments on commit 270938c

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