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

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

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