summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--korganizer/calendarview.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp
index 1d62046..e4c067e 100644
--- a/korganizer/calendarview.cpp
+++ b/korganizer/calendarview.cpp
@@ -127,6 +127,9 @@
#else
#include <qprocess.h>
#endif
+#ifdef DESKTOP_VERSION
+#include <kabc/stdaddressbook.h>
+#endif
using namespace KOrg;
using namespace KCal;
extern int globalFlagBlockAgenda;
@@ -154,7 +157,9 @@ class KOBeamPrefs : public QDialog
vcal->setChecked( true );
tz = new QRadioButton(i18n(" With timezone "), time );
local = new QRadioButton(i18n(" Local time "), time );
- tz->setChecked( true );
+ tz->setChecked( true );#ifdef DESKTOP_VERSION
+#include <kabc/stdaddressbook.h>
+#endif
QPushButton * ok = new QPushButton( i18n("Beam via IR!"), this );
lay->addWidget( ok );
QPushButton * cancel = new QPushButton( i18n("Cancel"), this );
@@ -1330,7 +1335,6 @@ void CalendarView::syncSharp()
}
-//#include <kabc/stdaddressbook.h>
bool CalendarView::importBday()
{
#ifndef KORG_NOKABC