Skip to content

Commit b598cb8

Browse files
author
g_j_m
committed
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
1 parent 8863a4a commit b598cb8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/gui/qgsdbsourceselect.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,11 @@ void QgsDbSourceSelect::on_btnConnect_clicked()
347347
iconItem->setToolTip(toolTipText);
348348
QTableWidgetItem *textItem = new QTableWidgetItem(iter->first);
349349
int row = lstTables->rowCount();
350+
std::cerr << "Adding database table with name '"
351+
<< iter->first.toLocal8Bit().data()
352+
<< "' and tooltip '"
353+
<< toolTipText.toLocal8Bit().data()
354+
<< "' at row " << row+1 << ".\n";
350355
lstTables->setRowCount(row+1);
351356
lstTables->setItem(row, 0, iconItem);
352357
lstTables->setItem(row, 1, textItem);

0 commit comments

Comments
 (0)