summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libkcal/vcalformat.cpp10
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)
64 clearException(); 64 clearException();
65 65 useLocalTime = mCalendar->isLocalTime();
66 kdDebug(5800) << "VCalFormat::load() " << fileName << endl;
67
68 VObject *vcal = 0; 66 VObject *vcal = 0;
@@ -94,2 +92,3 @@ bool VCalFormat::save(Calendar *calendar, const QString &fileName)
94 mCalendar = calendar; 92 mCalendar = calendar;
93 useLocalTime = mCalendar->isLocalTime();
95 94
@@ -98,3 +97,2 @@ bool VCalFormat::save(Calendar *calendar, const QString &fileName)
98 97
99 kdDebug(5800) << "VCalFormat::save(): " << fileName << endl;
100 98
@@ -130,6 +128,4 @@ bool VCalFormat::save(Calendar *calendar, const QString &fileName)
130 if (QFile::exists(fileName)) { 128 if (QFile::exists(fileName)) {
131 kdDebug(5800) << "No error" << endl;
132 return true; 129 return true;
133 } else { 130 } else {
134 kdDebug(5800) << "Error" << endl;
135 return false; // error 131 return false; // error
@@ -163,3 +159,3 @@ bool VCalFormat::fromString( Calendar *calendar, const QString &text )
163 } else { 159 } else {
164 kdDebug(5800) << "VCalFormat::fromString(): Unknown object type." << endl; 160 qDebug("VCalFormat::fromString(): Unknown object type. ");
165 deleteVObject( vcal ); 161 deleteVObject( vcal );