aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Seigo <aseigo@kde.org>2011-12-01 08:01:38 (GMT)
committerAaron Seigo <aseigo@kde.org>2011-12-01 08:01:38 (GMT)
commitb13b460450f3acdebf40773ec3093c61a87697af (patch)
tree0e23c6c9ce73d033ce49e96df32b34938ae6503e
parentfd47389ca6718f917cc508a8df4216e40a395c8b (diff)
calendarTable can be NULL
BUG:284462 BUG:287958
-rw-r--r--libs/plasmaclock/clockapplet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/plasmaclock/clockapplet.cpp b/libs/plasmaclock/clockapplet.cpp
index 81e5385..657a145 100644
--- a/libs/plasmaclock/clockapplet.cpp
+++ b/libs/plasmaclock/clockapplet.cpp
@@ -273,7 +273,7 @@ void ClockApplet::updateTipContent()
subText.append("</table>");
}
- if (d->calendarWidget->dateHasDetails(tipDate)) {
+ if (d->calendarWidget && d->calendarWidget->dateHasDetails(tipDate)) {
subText.append("<br>").append(d->calendarWidget->dateDetails(tipDate).join("<br>"));
}