Skip to content
Permalink
Browse files

Merge pull request #200 from sdikiy/dirdebug

Debugging of all files in a directory
  • Loading branch information
jef-n committed Sep 1, 2012
2 parents b43ed34 + df04771 commit cbdafbc39857ed806681a136e9758c32d08f260a
@@ -35,7 +35,7 @@ void QgsLogger::debug( const QString& msg, int debuglevel, const char* file, con
const char* dfile = debugFile();
if ( dfile ) //exit if QGIS_DEBUG_FILE is set and the message comes from the wrong file
{
if ( !file || strcmp( dfile, file ) != 0 )
if ( !file || strncmp( dfile, file, strlen( dfile ) ) != 0 )
{
return;
}
@@ -82,7 +82,7 @@ void QgsLogger::debug( const QString& var, int val, int debuglevel, const char*
const char* dfile = debugFile();
if ( dfile ) //exit if QGIS_DEBUG_FILE is set and the message comes from the wrong file
{
if ( !file || strcmp( dfile, file ) != 0 )
if ( !file || strncmp( dfile, file, strlen( dfile ) ) != 0 )
{
return;
}
@@ -123,7 +123,7 @@ void QgsLogger::debug( const QString& var, double val, int debuglevel, const cha
const char* dfile = debugFile();
if ( dfile ) //exit if QGIS_DEBUG_FILE is set and the message comes from the wrong file
{
if ( !file || strcmp( dfile, file ) != 0 )
if ( !file || strncmp( dfile, file, strlen( dfile ) ) != 0 )
{
return;
}
@@ -29,7 +29,6 @@
#include <QStringList>
#include <QUrl>
#include <fcgi_stdio.h>
#include "qgslogger.h"

QgsHttpRequestHandler::QgsHttpRequestHandler(): QgsRequestHandler()
{
@@ -39,7 +39,6 @@
#include "qgsrenderer.h"
#include "qgslegendmodel.h"
#include "qgscomposerlegenditem.h"
#include "qgslogger.h"
#include "qgsrequesthandler.h"
#include <QImage>
#include <QPainter>
@@ -39,7 +39,6 @@
#include "qgsrendererv2.h"
#include "qgslegendmodel.h"
#include "qgscomposerlegenditem.h"
#include "qgslogger.h"
#include "qgspaintenginehack.h"

#include <QImage>

0 comments on commit cbdafbc

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