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/qgis@5029 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m
g_j_m committed Mar 15, 2006
1 parent 3c13dce commit fd1ac66c9e97fca59e1ba6bd2a224275b80df566
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 fd1ac66

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