Commit dac94d02 authored by Ronan Abhamon's avatar Ronan Abhamon

unstable

parent 5d575b4b
......@@ -41,6 +41,7 @@ set(SOURCES
src/components/notifier/Notifier.cpp
src/components/settings/AccountSettingsModel.cpp
src/components/settings/SettingsModel.cpp
src/components/smart-search-bar/SmartSearchBarModel.cpp
src/components/timeline/TimelineModel.cpp
src/main.cpp
)
......@@ -58,6 +59,7 @@ set(HEADERS
src/components/presence/Presence.hpp
src/components/settings/AccountSettingsModel.hpp
src/components/settings/SettingsModel.hpp
src/components/smart-search-bar/SmartSearchBarModel.hpp
src/components/timeline/TimelineModel.hpp
src/utils.hpp
)
......
#ifndef CONTACT_MODEL_H
#define CONTACT_MODEL_H
#ifndef CONTACT_MODEL_H_
#define CONTACT_MODEL_H_
#include <QObject>
#include <linphone++/linphone.hh>
......@@ -80,4 +80,4 @@ private:
Q_DECLARE_METATYPE(ContactModel*);
#endif // CONTACT_MODEL_H
#endif // CONTACT_MODEL_H_
......@@ -59,7 +59,7 @@ bool ContactsListModel::removeRows (int row, int count, const QModelIndex &paren
ContactModel *contact = m_list[row];
m_list.removeAt(row);
m_linphone_friends->removeFriend(contact->m_linphone_friend);
// m_linphone_friends->removeFriend(contact->m_linphone_friend);
contact->deleteLater();
}
......
#ifndef CONTACTS_LIST_MODEL_H
#define CONTACTS_LIST_MODEL_H
#ifndef CONTACTS_LIST_MODEL_H_
#define CONTACTS_LIST_MODEL_H_
#include <QAbstractListModel>
......@@ -39,4 +39,4 @@ private:
std::shared_ptr<linphone::FriendList> m_linphone_friends;
};
#endif // CONTACTS_LIST_MODEL_H
#endif // CONTACTS_LIST_MODEL_H_
#ifndef CONTACTS_LIST_PROXY_MODEL_H
#define CONTACTS_LIST_PROXY_MODEL_H
#ifndef CONTACTS_LIST_PROXY_MODEL_H_
#define CONTACTS_LIST_PROXY_MODEL_H_
#include <QSortFilterProxyModel>
......@@ -49,4 +49,4 @@ private:
bool m_use_connected_filter;
};
#endif // CONTACTS_LIST_PROXY_MODEL_H
#endif // CONTACTS_LIST_PROXY_MODEL_H_
......@@ -6,4 +6,4 @@ class SmartSearchBarModel {
};
#endif
#endif // SMART_SEARCH_BAR_MODEL_H_
#ifndef SMART_SEARCH_BAR_PROXY_MODEL_H_
#define SMART_SEARCH_BAR_PROXY_MODEL_H_
class SmartSearchBarProxyModel {
};
#endif // SMART_SEARCH_BAR_PROXY_MODEL_H_
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