Skip to content
Permalink
Browse files
fix crash on invalid raster layers
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8455 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed May 17, 2008
1 parent 80cacae commit 98516fd
Showing 1 changed file with 0 additions and 1 deletion.
@@ -5123,7 +5123,6 @@ QgsRasterLayer* QgisApp::addRasterLayer(QString const & rasterFile, QString cons
+ tr(" is not a valid or recognized raster data source"));
QMessageBox::critical(this, tr("Invalid Data Source"), msg);
}
delete layer;
return NULL;
}
else

0 comments on commit 98516fd

Please sign in to comment.