Skip to content
Permalink
Browse files

Added output on cerr to help debug the problem with postresql tables

not showing up in the list of tables to load


git-svn-id: http://svn.osgeo.org/qgis/trunk@5029 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m
g_j_m committed Mar 15, 2006
1 parent 8863a4a commit b598cb8297fd0b4fd40ec6aea6a820da81e48d97
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/gui/qgsdbsourceselect.cpp
@@ -347,6 +347,11 @@ void QgsDbSourceSelect::on_btnConnect_clicked()
iconItem->setToolTip(toolTipText);
QTableWidgetItem *textItem = new QTableWidgetItem(iter->first);
int row = lstTables->rowCount();
std::cerr << "Adding database table with name '"
<< iter->first.toLocal8Bit().data()
<< "' and tooltip '"
<< toolTipText.toLocal8Bit().data()
<< "' at row " << row+1 << ".\n";
lstTables->setRowCount(row+1);
lstTables->setItem(row, 0, iconItem);
lstTables->setItem(row, 1, textItem);

0 comments on commit b598cb8

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