Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 743d932f authored by Daniel Vrátil's avatar Daniel Vrátil 🤖

Remove reference to xdgbasedirs

parent bf14aace
......@@ -26,7 +26,6 @@
#include <QIcon>
#include <akonadi/private/instance_p.h>
#include <akonadi/private/dbus_p.h>
#include <akonadi/private/xdgbasedirs_p.h>
#include <QApplication>
#include <QDBusConnection>
......@@ -96,15 +95,6 @@ void InstanceSelector::slotAccept()
}
QDialog::accept();
if (!m_instance.isEmpty()) {
QDBusInterface serverIface(QStringLiteral("org.freedesktop.Akonadi.%1").arg(m_instance),
QStringLiteral("/Server"),
QStringLiteral("org.freedesktop.Akonadi.Server"),
QDBusConnection::sessionBus());
const QDBusReply<QString> serverPath = serverIface.call(QStringLiteral("serverPath"));
Akonadi::XdgBaseDirs::overrideConfigPath(serverPath);
}
qputenv("AKONADI_INSTANCE", m_instance.toUtf8());
Akonadi::Instance::setIdentifier(m_instance);
MainWindow *mWindow = new MainWindow;
......
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