diff --git a/src/GcScopeBar.cpp b/src/GcScopeBar.cpp index a8db53d25..973fcca0a 100644 --- a/src/GcScopeBar.cpp +++ b/src/GcScopeBar.cpp @@ -51,9 +51,11 @@ GcScopeBar::GcScopeBar(QWidget *parent, QWidget *traintool) : QWidget(parent) layout->addWidget(home); connect(home, SIGNAL(clicked(bool)), this, SLOT(clickedHome())); +#ifdef GC_HAVE_ICAL diary->setText("Diary"); layout->addWidget(diary); connect(diary, SIGNAL(clicked(bool)), this, SLOT(clickedDiary())); +#endif anal->setText("Analysis"); anal->setWidth(70); diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index dbfc68856..e87694d59 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -481,7 +481,6 @@ MainWindow::MainWindow(const QDir &home) : #else head->addStretch(); #endif -xxxxx #endif /*----------------------------------------------------------------------