Skip to content

Commit

Permalink
Added output on cerr to help debug the problem with postresql tables
Browse files Browse the repository at this point in the history
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 committed Mar 15, 2006
1 parent 8863a4a commit b598cb8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/gui/qgsdbsourceselect.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit b598cb8

Please sign in to comment.