diff --git a/interfaces/iproject.h b/interfaces/iproject.h --- a/interfaces/iproject.h +++ b/interfaces/iproject.h @@ -60,7 +60,6 @@ class KDEVPLATFORMINTERFACES_EXPORT IProject : public QObject { Q_OBJECT - Q_CLASSINFO("D-Bus Interface", "org.kdevelop.Project") Q_PROPERTY(QString projectName READ name CONSTANT) public: /** diff --git a/shell/project.cpp b/shell/project.cpp --- a/shell/project.cpp +++ b/shell/project.cpp @@ -26,7 +26,6 @@ #include "project.h" -#include #include #include #include @@ -408,8 +407,6 @@ : IProject( parent ) , d( new ProjectPrivate ) { - QDBusConnection::sessionBus().registerObject( QStringLiteral("/org/kdevelop/Project"), this, QDBusConnection::ExportScriptableSlots ); - d->project = this; d->manager = nullptr; d->topItem = nullptr;