From 56990d318b15eacf7d3cc7425ab62f68da099ddf Mon Sep 17 00:00:00 2001 From: zautrix Date: Mon, 18 Oct 2004 09:08:13 +0000 Subject: fix of tmp file path for desktop version --- (limited to 'korganizer/calendarview.cpp') diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp index 290c0b9..884c61a 100644 --- a/korganizer/calendarview.cpp +++ b/korganizer/calendarview.cpp @@ -2303,8 +2303,11 @@ void CalendarView::beamIncidenceList(QPtrList 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; if ( createbup ) { -- cgit v0.9.0.2