Skip to content
Permalink
Browse files
Tidy up line indenting (no changes to code)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4931 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Mar 1, 2006
1 parent a10a599 commit 212930b9b5f1e20b46a12e26d120ab189cbf085c
Showing with 23 additions and 23 deletions.
  1. +23 −23 src/gui/qgsdbsourceselect.cpp
@@ -278,29 +278,29 @@ void QgsDbSourceSelect::on_btnConnect_clicked()
geomCol details;
if (getGeometryColumnInfo(pd, details))
{
geomCol::const_iterator iter = details.begin();
for (; iter != details.end(); ++iter)
{
QPixmap *p = 0;
if (iter->second == "POINT" || iter->second == "MULTIPOINT")
p = &pxPoint;
else if (iter->second == "MULTIPOLYGON" || iter->second == "POLYGON")
p = &pxPoly;
else if (iter->second == "LINESTRING" || iter->second == "MULTILINESTRING")
p = &pxLine;

if (p != 0)
{
Q3ListViewItem *lItem = new Q3ListViewItem(lstTables);
lItem->setText(1,iter->first);
lItem->setPixmap(0,*p);
lstTables->insertItem(lItem);
}
else
{
qDebug(("Unknown geometry type of " + iter->second).toLocal8Bit().data());
}
}
geomCol::const_iterator iter = details.begin();
for (; iter != details.end(); ++iter)
{
QPixmap *p = 0;
if (iter->second == "POINT" || iter->second == "MULTIPOINT")
p = &pxPoint;
else if (iter->second == "MULTIPOLYGON" || iter->second == "POLYGON")
p = &pxPoly;
else if (iter->second == "LINESTRING" || iter->second == "MULTILINESTRING")
p = &pxLine;

if (p != 0)
{
Q3ListViewItem *lItem = new Q3ListViewItem(lstTables);
lItem->setText(1,iter->first);
lItem->setPixmap(0,*p);
lstTables->insertItem(lItem);
}
else
{
qDebug(("Unknown geometry type of " + iter->second).toLocal8Bit().data());
}
}
}
else
{

0 comments on commit 212930b

Please sign in to comment.