Skip to content
Permalink
Browse files
Change a debugging std::cout to use the QgsLogger class
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5636 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Jul 25, 2006
1 parent cd4eb6e commit a031af434a562be83ae1104bd5b2bf8a42b4dde1
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/gui/qgsbookmarks.cpp
@@ -20,6 +20,7 @@
#include "qgsapplication.h"
#include "qgscontexthelp.h"
#include "qgsmapcanvas.h"
#include "qgslogger.h"

#include <QDir>
#include <QFileInfo>
@@ -86,7 +87,7 @@ void QgsBookmarks::initialise()
{
QString name = QString::fromUtf8((const char *)sqlite3_column_text(ppStmt, 1));
// sqlite3_bind_parameter_index(ppStmt, "name"));
std::cout << "Bookmark name: " << name.toLocal8Bit().data() << std::endl;
QgsDebugMsg("Bookmark name: " + name.toLocal8Bit().data());
Q3ListViewItem *lvi = new Q3ListViewItem(lstBookmarks, name);
// set the project name
lvi->setText(1, QString::fromUtf8((const char *)sqlite3_column_text(ppStmt, 2)));

0 comments on commit a031af4

Please sign in to comment.