chat: add conversation screen
- ability to chat off call
- system notification on incoming msg
- notification in smartlist
Tuleap: #202
Change-Id: Ide10f80f677f23022ad4296a82ae122e69a892cc
diff --git a/src/CurrentCallVC.mm b/src/CurrentCallVC.mm
index e234abe..1c3efdd 100644
--- a/src/CurrentCallVC.mm
+++ b/src/CurrentCallVC.mm
@@ -124,7 +124,7 @@
NSButton* a = actionHash[(int) action];
if (a) {
[a setHidden:!(idx.flags() & Qt::ItemIsEnabled)];
- [a setState:(idx.data(Qt::CheckStateRole) == Qt::Checked) ? NSOnState : NSOffState];
+ [a setHighlighted:(idx.data(Qt::CheckStateRole) == Qt::Checked) ? YES : NO];
}
}
@@ -245,7 +245,6 @@
[=](const QModelIndex ¤t, const QModelIndex &previous) {
auto call = RecentModel::instance().getActiveCall(current);
if(!current.isValid() || !call) {
- [self animateOut];
return;
}
@@ -258,7 +257,6 @@
[self collapseRightView];
[self updateCall];
[self updateAllActions];
- [self animateOut];
});
QObject::connect(CallModel::instance().userActionModel(),