Skip to content

Commit 212930b

Browse files
author
g_j_m
committed
Tidy up line indenting (no changes to code)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4931 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent a10a599 commit 212930b

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

src/gui/qgsdbsourceselect.cpp

+23-23
Original file line numberDiff line numberDiff line change
@@ -278,29 +278,29 @@ void QgsDbSourceSelect::on_btnConnect_clicked()
278278
geomCol details;
279279
if (getGeometryColumnInfo(pd, details))
280280
{
281-
geomCol::const_iterator iter = details.begin();
282-
for (; iter != details.end(); ++iter)
283-
{
284-
QPixmap *p = 0;
285-
if (iter->second == "POINT" || iter->second == "MULTIPOINT")
286-
p = &pxPoint;
287-
else if (iter->second == "MULTIPOLYGON" || iter->second == "POLYGON")
288-
p = &pxPoly;
289-
else if (iter->second == "LINESTRING" || iter->second == "MULTILINESTRING")
290-
p = &pxLine;
291-
292-
if (p != 0)
293-
{
294-
Q3ListViewItem *lItem = new Q3ListViewItem(lstTables);
295-
lItem->setText(1,iter->first);
296-
lItem->setPixmap(0,*p);
297-
lstTables->insertItem(lItem);
298-
}
299-
else
300-
{
301-
qDebug(("Unknown geometry type of " + iter->second).toLocal8Bit().data());
302-
}
303-
}
281+
geomCol::const_iterator iter = details.begin();
282+
for (; iter != details.end(); ++iter)
283+
{
284+
QPixmap *p = 0;
285+
if (iter->second == "POINT" || iter->second == "MULTIPOINT")
286+
p = &pxPoint;
287+
else if (iter->second == "MULTIPOLYGON" || iter->second == "POLYGON")
288+
p = &pxPoly;
289+
else if (iter->second == "LINESTRING" || iter->second == "MULTILINESTRING")
290+
p = &pxLine;
291+
292+
if (p != 0)
293+
{
294+
Q3ListViewItem *lItem = new Q3ListViewItem(lstTables);
295+
lItem->setText(1,iter->first);
296+
lItem->setPixmap(0,*p);
297+
lstTables->insertItem(lItem);
298+
}
299+
else
300+
{
301+
qDebug(("Unknown geometry type of " + iter->second).toLocal8Bit().data());
302+
}
303+
}
304304
}
305305
else
306306
{

0 commit comments

Comments
 (0)