mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-23 00:02:38 -05:00
Modifed ternary statement to return QString::null if the file is not valid
git-svn-id: http://svn.osgeo.org/qgis/trunk@1016 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
33fd356603
commit
00c8d29e5a
@ -110,7 +110,7 @@ QString QgsShapeFile::getFeatureClass(){
|
||||
}else valid = false;
|
||||
|
||||
ogrLayer->ResetReading();
|
||||
return valid?geom_type:NULL;
|
||||
return valid?geom_type:QString::null;
|
||||
}
|
||||
|
||||
bool QgsShapeFile::is_valid(){
|
||||
|
Loading…
x
Reference in New Issue
Block a user