Package: qgis / 2.4.0-1

0001-composer-Prevent-crash-when-loading-project-which-co.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
From 111d7d3da04b01930b6ef3b44ddbc50a184cc810 Mon Sep 17 00:00:00 2001
From: Nyall Dawson <nyall.dawson@gmail.com>
Date: Sat, 19 Jul 2014 22:36:57 +1000
Subject: [composer] Prevent crash when loading project which contains no Grid
 elements (refs #10905)
Origin: https://github.com/qgis/QGIS/commit/111d7d3da04b01930b6ef3b44ddbc50a184cc810
Bug: http://hub.qgis.org/issues/10905


--- a/src/core/composer/qgscomposermap.cpp
+++ b/src/core/composer/qgscomposermap.cpp
@@ -115,6 +115,7 @@ QgsComposerMap::QgsComposerMap( QgsCompo
   mOverviewFrameMapSymbol = 0;
   mGridLineSymbol = 0;
   createDefaultOverviewFrameSymbol();
+  createDefaultGridLineSymbol();
 
   //Offset
   mXOffset = 0.0;