mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
Fix path error for bdf creation.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1390 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
97eabdfd23
commit
b2ff8b7387
@ -27,7 +27,7 @@ DBFHandle WayPointToShape::createDbf (QString theDbfName )
|
||||
DBFHandle myDbfHandle;
|
||||
//remove the path part of the dbf name
|
||||
QFileInfo myFileInfo( theDbfName );
|
||||
QString myBaseString = myFileInfo.baseName(); // excludes any extension
|
||||
QString myBaseString = myFileInfo.dirPath()+QString("/")+myFileInfo.baseName(); // excludes any extension
|
||||
//create the dbf
|
||||
myDbfHandle = DBFCreate( myBaseString+".dbf" );
|
||||
//create an index field named after the base part of the file name
|
||||
|
Loading…
x
Reference in New Issue
Block a user