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:
gsherman 2004-03-11 02:58:07 +00:00
parent 33fd356603
commit 00c8d29e5a

View File

@ -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(){