Commit ae604b51 authored by Volker Krause's avatar Volker Krause

Remove the remaining traces of KGlobalSettings

The completion mode can't be configured globally anymore, so this was
effectively just setting it to the default value.
parent 85d10ae0
......@@ -46,7 +46,6 @@
#include <QTreeView>
#include <KMessageBox>
#include <KLocalizedString>
#include <KGlobalSettings>
using namespace IncidenceEditorNG;
......@@ -106,7 +105,6 @@ IncidenceAttendee::IncidenceAttendee(QWidget *parent, IncidenceDateTime *dateTim
mUi->mAttendeeTable->setModel(filterProxyModel);
mAttendeeDelegate = new AttendeeLineEditDelegate(this);
mAttendeeDelegate->setCompletionMode((KCompletion::CompletionMode) KGlobalSettings::self()->completionMode());
mUi->mAttendeeTable->setItemDelegateForColumn(AttendeeTableModel::Role, roleDelegate());
mUi->mAttendeeTable->setItemDelegateForColumn(AttendeeTableModel::FullName, attendeeDelegate());
......
......@@ -31,7 +31,6 @@
#include <KDescendantsProxyModel>
#include <KEmailAddress>
#include <KGlobalSettings>
#include <QCompleter>
......@@ -89,7 +88,6 @@ IncidenceResource::IncidenceResource(IncidenceAttendee *ieAttendee, IncidenceDat
mUi->mNewResource->setCompleter(completer);
AttendeeLineEditDelegate *attendeeDelegate = new AttendeeLineEditDelegate(this);
attendeeDelegate->setCompletionMode((KCompletion::CompletionMode)KGlobalSettings::self()->completionMode());
ResourceFilterProxyModel *filterProxyModel = new ResourceFilterProxyModel(this);
filterProxyModel->setDynamicSortFilter(true);
......
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