Skip to content
Permalink
Browse files

fix for ticket #790 and #791 and another msvc logger update

git-svn-id: http://svn.osgeo.org/qgis/trunk@7328 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Nov 5, 2007
1 parent 15bece2 commit 21d8f805c5f39bb7f2c2b4c1e92408adfc4cb919
Showing with 8 additions and 2 deletions.
  1. +0 −2 src/app/qgsmaptoolcapture.cpp
  2. +8 −0 src/core/qgslogger.cpp
@@ -79,8 +79,6 @@ void QgsMapToolCapture::renderComplete()

void QgsMapToolCapture::deactivate()
{
delete mRubberBand;
mRubberBand = 0;
}

int QgsMapToolCapture::addVertex(const QPoint& p)
@@ -84,7 +84,11 @@ void QgsLogger::debug(const QString& var, int val, int debuglevel, const char* f
}
else
{
#ifdef _MSC_VER
qDebug("%s(%d): (%s), %s: %d", file, line, function, var.toLocal8Bit().data(), val);
#else
qDebug("%s: %d: (%s), %s: %d", file, line, function, var.toLocal8Bit().data(), val);
#endif
}
}
}
@@ -117,7 +121,11 @@ void QgsLogger::debug(const QString& var, double val, int debuglevel, const char
}
else
{
#ifdef _MSC_VER
qDebug("%s(%d): (%s), %s: %f", file, line, function, var.toLocal8Bit().data(), val);
#else
qDebug("%s: %d: (%s), %s: %f", file, line, function, var.toLocal8Bit().data(), val);
#endif
}
}
}

0 comments on commit 21d8f80

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