summaryrefslogtreecommitdiff
path: root/misc/kdepim3/patches/patch-ac
blob: 2dfa9a7eee5d6edc8c57c9417863d97c9e9ca61b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ac,v 1.3 2004/11/28 18:35:48 kleink Exp $

--- korganizer/plugins/holidays/holidays.cpp	2004/07/23 16:32:44	1.12
+++ korganizer/plugins/holidays/holidays.cpp	2004/10/03 18:33:19	1.12.2.1
@@ -91,7 +91,7 @@
   //static int lastYear = 0;
   int lastYear = 0;
 
-  if (mHolidayFile.isEmpty()) return QString::null;
+  if (mHolidayFile.isEmpty() || qd.isNull()) return QString::null;
 
   //if ((lastYear == 0) || (qd.year() != lastYear)) {
   if ((yearLast == 0) || (qd.year() != yearLast)) {