Commit cd5bcff7 authored by Volker Krause's avatar Volker Krause
Browse files

Remove obsolete Maemo5 code.

parent 1994ed68
......@@ -42,10 +42,6 @@
Dialog::Dialog(QWidget *parent, Qt::WindowFlags flags) :
KAssistantDialog(parent, flags)
{
#if defined (Q_OS_MAEMO_5) || defined (MEEGO_EDITION_HARMATTAN)
setWindowState(Qt::WindowFullScreen);
#endif
mSetupManager = new SetupManager(this);
const bool showPersonalDataPage = Global::typeFilter().size() == 1 && Global::typeFilter().first() == KMime::Message::mimeType();
......
......@@ -74,13 +74,6 @@ IncidenceCompletionPriority::IncidenceCompletionPriority(Ui::EventOrTodoDesktop
d->mUi->mTaskSeparator->hide();
#endif
#ifdef Q_OS_MAEMO_5
// The default looks really bad in the editor.
QPalette palette = d->mUi->mCompletionSlider->palette();
palette.setColor(QPalette::Window, Qt::white);
d->mUi->mCompletionSlider->setPalette(palette);
#endif
connect(d->mUi->mCompletionSlider, SIGNAL(valueChanged(int)), SLOT(sliderValueChanged(int)));
connect(d->mUi->mPriorityCombo, static_cast<void (KComboBox::*)(int)>(&KComboBox::currentIndexChanged), this, &IncidenceCompletionPriority::checkDirtyStatus);
}
......
......@@ -43,11 +43,6 @@
#include <KConfigGroup>
#include <QApplication>
#ifdef Q_OS_MAEMO_5
#include <KSharedConfig>
#include <QStandardPaths>
#endif
#include "koalarmclient_debug.h"
using namespace KCalCore;
......@@ -218,7 +213,6 @@ void KOAlarmClient::createReminder(const Akonadi::ETMCalendar::Ptr &calendar,
return;
}
#if !defined(Q_OS_MAEMO_5)
if (!mDialog) {
mDialog = new AlarmDialog(calendar);
connect(this, &KOAlarmClient::saveAllSignal, mDialog, &AlarmDialog::slotSave);
......@@ -231,7 +225,6 @@ void KOAlarmClient::createReminder(const Akonadi::ETMCalendar::Ptr &calendar,
mDialog->addIncidence(aitem, remindAtDate, displayText);
mDialog->wakeUp();
#endif
saveLastCheckTime();
}
......
......@@ -375,11 +375,7 @@ void KCMLdap::initGUI()
QWidget *KCMLdap::dialogParent()
{
#ifdef Q_OS_MAEMO_5
return 0;
#else
return this;
#endif
}
#include "kcmldap.moc"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment