Skip to content

Commit

Permalink
Change a debugging std::cout to use the QgsLogger class
Browse files Browse the repository at this point in the history
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 a031af4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gui/qgsbookmarks.cpp
Expand Up @@ -20,6 +20,7 @@
#include "qgsapplication.h"
#include "qgscontexthelp.h"
#include "qgsmapcanvas.h"
#include "qgslogger.h"

#include <QDir>
#include <QFileInfo>
Expand Down Expand Up @@ -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)));
Expand Down

0 comments on commit a031af4

Please sign in to comment.