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 committed Mar 15, 2006
1 parent 3c13dce commit fd1ac66
Showing 1 changed file with 5 additions and 0 deletions.
@@ -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.