Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 committed Nov 5, 2007
1 parent 15bece2 commit 21d8f80
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/app/qgsmaptoolcapture.cpp
Expand Up @@ -79,8 +79,6 @@ void QgsMapToolCapture::renderComplete()

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

int QgsMapToolCapture::addVertex(const QPoint& p)
Expand Down
8 changes: 8 additions & 0 deletions src/core/qgslogger.cpp
Expand Up @@ -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
}
}
}
Expand Down Expand Up @@ -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
}
}
}
Expand Down

0 comments on commit 21d8f80

Please sign in to comment.