-rw-r--r-- | korganizer/calendarview.cpp | 5 | ||||
-rw-r--r-- | korganizer/koprefs.cpp | 6 | ||||
-rw-r--r-- | korganizer/mainwindow.cpp | 4 |
3 files changed, 6 insertions, 9 deletions
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp index 290c0b9..884c61a 100644 --- a/korganizer/calendarview.cpp +++ b/korganizer/calendarview.cpp @@ -2304,6 +2304,9 @@ void CalendarView::beamIncidenceList(QPtrList<Incidence> delSel ) if ( beamDialog->exec () == QDialog::Rejected ) return; - +#ifdef DESKTOP_VERSION + QString fn = locateLocal( "tmp", "kopibeamfile" ); +#else QString fn = "/tmp/kopibeamfile"; +#endif QString mes; bool createbup = true; diff --git a/korganizer/koprefs.cpp b/korganizer/koprefs.cpp index 651442b..258f738 100644 --- a/korganizer/koprefs.cpp +++ b/korganizer/koprefs.cpp @@ -203,10 +203,4 @@ KOPrefs::KOPrefs() : QString hdp= locateLocal("data","korganizer")+"/"; #endif -// addItemString("RemoteIP",&mRemoteIP, "192.168.0.65"); -// addItemString("RemoteUser",&mRemoteUser, "zaurus"); -// addItemString("RemotePassWd",&mRemotePassWd, ""); -// addItemString("RemoteFile", &mRemoteFile, hdp+"mycalendar.ics"); -// addItemString("LocalTempFile",&mLocalTempFile, "/tmp/tempsyncfile.ics" ); - KPrefs::setCurrentGroup("LoadSaveFileNames"); diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index 06470b8..c3e9f75 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp @@ -1215,8 +1215,8 @@ QString MainWindow::defaultFileName() QString MainWindow::syncFileName() { -#ifdef _WIN32_ +#ifdef DESKTOP_VERSION return locateLocal( "tmp", "synccalendar.ics" ); #else - return QString( "/tmp/kopitempfile.ics" ); + return QString( "/tmp/synccalendar.ics" ); #endif } |