@@ -22,7 +22,8 @@ Scope::Scope(QObject* parent) : Scope(QString(), QString(), false, parent)
2222}
2323
2424Scope::Scope(QString const& id, QString const& name, bool visible, QObject* parent)
25− : m_id(id)
25+ : unity::shell::scopes::ScopeInterface(parent)
26+ , m_id(id)
2627 , m_name(name)
2728 , m_visible(visible)
2829 , m_searching(false)
@@ -30,7 +31,6 @@ Scope::Scope(QString const& id, QString const& name, bool visible, QObject* pare
3031 , m_previewRendererName("preview-generic")
3132 , m_categories(new Categories(20, this))
3233{
33− setParent(parent);
3434}
3535
3636QString Scope::id() const {