Skip to content

Commit fd39376

Browse files
author
g_j_m
committed
Change a debugging std::cout to use the QgsLogger class
git-svn-id: http://svn.osgeo.org/qgis/trunk@5636 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 30317a6 commit fd39376

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/gui/qgsbookmarks.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
#include "qgsapplication.h"
2121
#include "qgscontexthelp.h"
2222
#include "qgsmapcanvas.h"
23+
#include "qgslogger.h"
2324

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

0 commit comments

Comments
 (0)