summaryrefslogtreecommitdiffabout
authorulf69 <ulf69>2004-09-29 01:42:40 (UTC)
committer ulf69 <ulf69>2004-09-29 01:42:40 (UTC)
commitaf63a131d742aff8e448e5fe0f3e62b11a4d9a33 (patch) (side-by-side diff)
tree2b299c6a4b365bf938c7b6269cd51bf38b0d9d99
parentbb0e15259ccb1883410435ad76eb0de08b7e2069 (diff)
downloadkdepimpi-af63a131d742aff8e448e5fe0f3e62b11a4d9a33.zip
kdepimpi-af63a131d742aff8e448e5fe0f3e62b11a4d9a33.tar.gz
kdepimpi-af63a131d742aff8e448e5fe0f3e62b11a4d9a33.tar.bz2
added some debug output
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--pwmanager/pwmanager/serializer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pwmanager/pwmanager/serializer.cpp b/pwmanager/pwmanager/serializer.cpp
index fcdcec3..9377e3d 100644
--- a/pwmanager/pwmanager/serializer.cpp
+++ b/pwmanager/pwmanager/serializer.cpp
@@ -401,33 +401,33 @@ bool Serializer::extractMeta(const QDomNode &n,
} else {
printDebug(string("extractMeta(): invalid: ")
+ name.latin1());
}
#else
QDateTime m_dt;
if ((name == META_CREATE_DATE) ||
(name == META_VALID_DATE) ||
(name == META_EXPIRE_DATE) ||
(name == META_UPDATE_DATE))
{
int pos = val.find("T");
QString date = val.left(pos);
QString time = val.mid(pos+1);
- qDebug("Serializer::extractMeta : date=%s ,time=%s",date.latin1(), time.latin1() );
+ qDebug("Serializer::extractMeta from %s to date=%s ,time=%s",val.latin1(), date.latin1(), time.latin1() );
bool ok1, ok2;
QDate m_date = KGlobal::locale()->readDate(date, &ok1);
QTime m_time = KGlobal::locale()->readTime(time, &ok2);
if ((ok1 == false) || (ok2 == false))
qDebug("Serializer::extractMeta invalid date or time !!!!!!!!!!!!!");
m_dt.setDate(m_date);
m_dt.setTime(m_time);
}
if (name == META_CREATE_DATE) {
dta->create = m_dt;
} else if (name == META_VALID_DATE) {
dta->valid = m_dt;
} else if (name == META_EXPIRE_DATE) {