Commit 24eb82f6 authored by Ronan Abhamon's avatar Ronan Abhamon

feat(src/app/App): enable Calls view

parent 1149e9ad
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
#include <QtDebug> #include <QtDebug>
#include "../components/chat/ChatProxyModel.hpp" #include "../components/chat/ChatProxyModel.hpp"
#include "../components/contacts/ContactModel.hpp"
#include "../components/contacts/ContactsListModel.hpp" #include "../components/contacts/ContactsListModel.hpp"
#include "../components/contacts/ContactsListProxyModel.hpp" #include "../components/contacts/ContactsListProxyModel.hpp"
#include "../components/core/CoreManager.hpp" #include "../components/core/CoreManager.hpp"
...@@ -134,11 +133,10 @@ void App::addContextProperties () { ...@@ -134,11 +133,10 @@ void App::addContextProperties () {
QQmlComponent component(&m_engine, QUrl(QML_VIEW_CALL_WINDOW)); QQmlComponent component(&m_engine, QUrl(QML_VIEW_CALL_WINDOW));
// Windows. // Windows.
if (component.isError()) { if (component.isError())
qWarning() << component.errors(); qWarning() << component.errors();
} else { else
//context->setContextProperty("CallsWindow", component.create()); context->setContextProperty("CallsWindow", component.create());
}
m_notifier = new Notifier(); m_notifier = new Notifier();
context->setContextProperty("Notifier", m_notifier); context->setContextProperty("Notifier", m_notifier);
......
...@@ -3,8 +3,6 @@ ...@@ -3,8 +3,6 @@
#include "../../app/App.hpp" #include "../../app/App.hpp"
#include "../../utils.hpp" #include "../../utils.hpp"
#include "../core/CoreManager.hpp" #include "../core/CoreManager.hpp"
#include "ContactModel.hpp"
#include "ContactsListProxyModel.hpp"
#include "ContactsListModel.hpp" #include "ContactsListModel.hpp"
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
#include <QAbstractListModel> #include <QAbstractListModel>
#include <linphone++/linphone.hh> #include <linphone++/linphone.hh>
class ContactModel; #include "ContactModel.hpp"
// =================================================================== // ===================================================================
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
#include <QSortFilterProxyModel> #include <QSortFilterProxyModel>
class ContactModel;
class ContactsListModel; class ContactsListModel;
// =================================================================== // ===================================================================
......
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