From cc29364f06178f8f6b457384f2ec37a042bd9d43 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 1 Sep 2010 00:37:02 +0000 Subject: * Massive set of changes to bring in all fixes and enhancements from the Enterprise PIM branch * Ensured that the Trinity changes were applied on top of those enhancements, and any redundancy removed * Added journal read support to the CalDAV resource * Fixed CalDAV resource to use events URL for tasks and journals when separate URL checkbox unchecked git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1170461 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- korganizer/plugins/hebrew/hebrew.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'korganizer/plugins/hebrew/hebrew.cpp') diff --git a/korganizer/plugins/hebrew/hebrew.cpp b/korganizer/plugins/hebrew/hebrew.cpp index 9fb0f2fbf..8a9f37bd4 100644 --- a/korganizer/plugins/hebrew/hebrew.cpp +++ b/korganizer/plugins/hebrew/hebrew.cpp @@ -55,7 +55,7 @@ TQString Hebrew::shortText(const TQDate & date) Holiday::ParshaP = config.readBoolEntry("Parsha", true); Holiday::CholP = config.readBoolEntry("Chol_HaMoed", true); Holiday::OmerP = config.readBoolEntry("Omer", true); - TQString *label_text = new TQString(); + TQString label_text; int day = date.day(); int month = date.month(); @@ -81,7 +81,7 @@ TQString Hebrew::shortText(const TQDate & date) hebrew_day_number, hebrew_year); KCalendarSystem *cal = KCalendarSystemFactory::create("hebrew"); - *label_text = TQString("%1 %2").arg(cal->dayString(date, false)) + label_text = TQString("%1 %2").arg(cal->dayString(date, false)) .arg(cal->monthName(date)); if (holidays.count()) @@ -90,11 +90,11 @@ TQString Hebrew::shortText(const TQDate & date) for (int h = 0; h <= count; ++h) { - *label_text += "\n" + holidays[h]; + label_text += "\n" + holidays[h]; } } - return *label_text; + return label_text; } TQString Hebrew::info() -- cgit v1.2.1