Skip to content
Permalink
Browse files
Accept more ogr drivers (or at least don't complain about them being …
…unknown).

git-svn-id: http://svn.osgeo.org/qgis/trunk@4969 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Mar 5, 2006
1 parent 48e656a commit ae94398ebb42ca339db6fcfefb5dce1365d2b995
Showing with 10 additions and 1 deletion.
  1. +10 −1 src/providers/ogr/qgsogrprovider.cpp
@@ -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
@@ -1426,8 +1434,9 @@ QGISEXTERN QString fileVectorFilters()

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

#ifdef QGISDEBUG
qDebug() << myFileFilters;

#endif
return myFileFilters;

} // fileVectorFilters() const

0 comments on commit ae94398

Please sign in to comment.