Skip to content

Commit

Permalink
Accept more ogr drivers (or at least don't complain about them being …
Browse files Browse the repository at this point in the history
…unknown).

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4969 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Mar 5, 2006
1 parent eef2433 commit f1e17f7
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/providers/ogr/qgsogrprovider.cpp
Expand Up @@ -1413,6 +1413,14 @@ QGISEXTERN QString fileVectorFilters()
myFileFilters += createFileFilter_( "Geography Markup Language",
"*.gml" );
}
else if (driverName.startsWith("CSV"))
{
// XXX needs file filter extension
}
else if (driverName.startsWith("PostgreSQL"))
{
// XXX needs file filter extension
}
else
{
// NOP, we don't know anything about the current driver
Expand All @@ -1426,8 +1434,9 @@ QGISEXTERN QString fileVectorFilters()

myFileFilters += "All files (*.*)";

#ifdef QGISDEBUG
qDebug() << myFileFilters;

#endif
return myFileFilters;

} // fileVectorFilters() const
Expand Down

0 comments on commit f1e17f7

Please sign in to comment.