Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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.
1 change: 0 additions & 1 deletion src/app/qgisapp.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 98516fd

Please sign in to comment.