summaryrefslogtreecommitdiff
authoralwin <alwin>2005-03-20 10:03:42 (UTC)
committer alwin <alwin>2005-03-20 10:03:42 (UTC)
commita1d7a03827cef202c8c009eca6f9846f171e5b22 (patch) (side-by-side diff)
treef62880550d0041345f1fba51aad2f758f1f678b5
parent14eff34794a9d59629e374dd0a3090c46260169b (diff)
downloadopie-a1d7a03827cef202c8c009eca6f9846f171e5b22.zip
opie-a1d7a03827cef202c8c009eca6f9846f171e5b22.tar.gz
opie-a1d7a03827cef202c8c009eca6f9846f171e5b22.tar.bz2
ok, seems that guys want to insert static days like christmas and
so on better inside the nationaldays-xml-files so removing it here.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/datebook/holiday/christian/hlist.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/pim/datebook/holiday/christian/hlist.cpp b/core/pim/datebook/holiday/christian/hlist.cpp
index f1d51f8..266a200 100644
--- a/core/pim/datebook/holiday/christian/hlist.cpp
+++ b/core/pim/datebook/holiday/christian/hlist.cpp
@@ -2,12 +2,13 @@
#include <qobject.h>
const QStringList HList::entries(const QDate&aDate)const
{
QStringList ret;
+#if 0
if (aDate.month()==12) {
if (aDate.day()==24) {
ret.append(QObject::tr("Christmas Eve","holidays"));
} else if (aDate.day()==25) {
ret.append(QObject::tr("Christmas Day","holidays"));
} else if (aDate.day()==26) {
@@ -15,8 +16,9 @@ const QStringList HList::entries(const QDate&aDate)const
}
} else if (aDate.month()==1) {
if (aDate.day()==1) {
ret.append(QObject::tr("New Year","holidays"));
}
}
+#endif
return ret;
}