diff options
Diffstat (limited to 'misc/goldencheetah/patches/0001-SEGV-on-Overview-Chart.patch')
-rw-r--r-- | misc/goldencheetah/patches/0001-SEGV-on-Overview-Chart.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/misc/goldencheetah/patches/0001-SEGV-on-Overview-Chart.patch b/misc/goldencheetah/patches/0001-SEGV-on-Overview-Chart.patch deleted file mode 100644 index da451e86c434d..0000000000000 --- a/misc/goldencheetah/patches/0001-SEGV-on-Overview-Chart.patch +++ /dev/null @@ -1,22 +0,0 @@ -From 372dd5c14415885c8808c4ad4729cb39ae717db0 Mon Sep 17 00:00:00 2001 -From: Mark Liversedge <liversedge@gmail.com> -Date: Mon, 13 Jan 2020 20:21:00 +0000 -Subject: SEGV on Overview Chart - -.. when no rides available on new user. - -Fixes #3295 - -diff --git a/src/Charts/OverviewWindow.cpp b/src/Charts/OverviewWindow.cpp -index bfbd31432..7aa0792df 100644 ---- a/src/Charts/OverviewWindow.cpp -+++ b/src/Charts/OverviewWindow.cpp -@@ -558,6 +558,8 @@ static const QStringList timeInZonesWBAL = QStringList() - void - Card::setData(RideItem *item) - { -+ if (item == NULL || item->ride() == NULL) return; -+ - // use ride colors in painting? - ridecolor = item->color; - |