author | zautrix <zautrix> | 2004-10-05 11:37:46 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-10-05 11:37:46 (UTC) |
commit | 4c877944b4e7bb7f74b4c8db07a99fd8133e8b86 (patch) (side-by-side diff) | |
tree | bd3ecaaa9618eb6774ccc05fa79d546296fe54ba | |
parent | f002814959b88dc7786bbb4299ab6252a6fa8e0d (diff) | |
download | kdepimpi-4c877944b4e7bb7f74b4c8db07a99fd8133e8b86.zip kdepimpi-4c877944b4e7bb7f74b4c8db07a99fd8133e8b86.tar.gz kdepimpi-4c877944b4e7bb7f74b4c8db07a99fd8133e8b86.tar.bz2 |
added missing ;
-rw-r--r-- | libkcal/phoneformat.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libkcal/phoneformat.cpp b/libkcal/phoneformat.cpp index 16c5880..29c1ae6 100644 --- a/libkcal/phoneformat.cpp +++ b/libkcal/phoneformat.cpp @@ -371,25 +371,25 @@ ulong PhoneFormat::getCsum( const QStringList & attList) return cSum; } //extern "C" GSM_Error GSM_InitConnection(GSM_StateMachine *s, int ReplyNum); #include <stdlib.h> #define DEBUGMODE false bool PhoneFormat::load( Calendar *calendar, Calendar *existingCal) { QString fileName; #ifdef _WIN32_ - fileName = locateLocal("tmp", "tempfile.vcs") + fileName = locateLocal("tmp", "tempfile.vcs"); #else fileName = "/tmp/kdepimtemp.vcs"; #endif #ifdef DESKTOP_VERSION QString command ="./kammu --backup " + fileName + " -yes" ; #else QString command ="kammu --backup " + fileName + " -yes" ; #endif int ret = system ( command.latin1() ); if ( ret != 0 ) { qDebug("Error::command returned %d", ret); return false; @@ -575,25 +575,25 @@ bool PhoneFormat::save( Calendar *calendar) int w = status.sizeHint().width()+20 ; if ( w < 200 ) w = 230; int h = status.sizeHint().height()+20 ; int dw = QApplication::desktop()->width(); int dh = QApplication::desktop()->height(); status.setCaption(i18n("Writing to phone...") ); status.setGeometry( (dw-w)/2, (dh - h )/2 ,w,h ); status.show(); status.raise(); qApp->processEvents(); QString message; #ifdef _WIN32_ - QString fileName = locateLocal("tmp", "tempfile.vcs") + QString fileName = locateLocal("tmp", "tempfile.vcs"); #else QString fileName = "/tmp/kdepimtemp.vcs"; #endif // 1 remove events which should be deleted QPtrList<Event> er = calendar->rawEvents(); Event* ev = er.first(); while ( ev ) { if ( ev->tempSyncStat() == SYNC_TEMPSTATE_DELETE ) { calendar->deleteEvent( ev ); } else { |