mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-23 22:58:15 +00:00
feat(src/app/App): enable Calls view
This commit is contained in:
parent
1149e9ad8f
commit
24eb82f6bd
4 changed files with 4 additions and 9 deletions
|
|
@ -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;
|
||||
|
||||
// ===================================================================
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue