-rw-r--r-- | libkcal/vcalformat.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/libkcal/vcalformat.cpp b/libkcal/vcalformat.cpp index 309c699..a6ae1bc 100644 --- a/libkcal/vcalformat.cpp +++ b/libkcal/vcalformat.cpp @@ -64,5 +64,3 @@ bool VCalFormat::load(Calendar *calendar, const QString &fileName) clearException(); - - kdDebug(5800) << "VCalFormat::load() " << fileName << endl; - + useLocalTime = mCalendar->isLocalTime(); VObject *vcal = 0; @@ -94,2 +92,3 @@ bool VCalFormat::save(Calendar *calendar, const QString &fileName) mCalendar = calendar; + useLocalTime = mCalendar->isLocalTime(); @@ -98,3 +97,2 @@ bool VCalFormat::save(Calendar *calendar, const QString &fileName) - kdDebug(5800) << "VCalFormat::save(): " << fileName << endl; @@ -130,6 +128,4 @@ bool VCalFormat::save(Calendar *calendar, const QString &fileName) if (QFile::exists(fileName)) { - kdDebug(5800) << "No error" << endl; return true; } else { - kdDebug(5800) << "Error" << endl; return false; // error @@ -163,3 +159,3 @@ bool VCalFormat::fromString( Calendar *calendar, const QString &text ) } else { - kdDebug(5800) << "VCalFormat::fromString(): Unknown object type." << endl; + qDebug("VCalFormat::fromString(): Unknown object type. "); deleteVObject( vcal ); |