[QGIS Commit] r8455 - trunk/qgis/src/app
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Sat May 17 19:02:13 EDT 2008
Author: jef
Date: 2008-05-17 19:02:13 -0400 (Sat, 17 May 2008)
New Revision: 8455
Modified:
trunk/qgis/src/app/qgisapp.cpp
Log:
fix crash on invalid raster layers
Modified: trunk/qgis/src/app/qgisapp.cpp
===================================================================
--- trunk/qgis/src/app/qgisapp.cpp 2008-05-17 19:32:13 UTC (rev 8454)
+++ trunk/qgis/src/app/qgisapp.cpp 2008-05-17 23:02:13 UTC (rev 8455)
@@ -5123,7 +5123,6 @@
+ tr(" is not a valid or recognized raster data source"));
QMessageBox::critical(this, tr("Invalid Data Source"), msg);
}
- delete layer;
return NULL;
}
else
More information about the QGIS-commit
mailing list