Skip to content
Snippets Groups Projects
Commit 23f61559 authored by Alexandre Lision's avatar Alexandre Lision Committed by Alexandre Lision
Browse files

log: remove debugging log

Refs #67102

Change-Id: I93201360c6618efba10ae251b76b625aa96e5052
parent e08065c5
No related branches found
No related tags found
No related merge requests found
...@@ -70,8 +70,6 @@ ...@@ -70,8 +70,6 @@
QObject::connect(CallModel::instance(), QObject::connect(CallModel::instance(),
&QAbstractItemModel::dataChanged, &QAbstractItemModel::dataChanged,
[=](const QModelIndex &topLeft, const QModelIndex &bottomRight) { [=](const QModelIndex &topLeft, const QModelIndex &bottomRight) {
NSLog(@"data changed for call tree %d, %d", topLeft.row(), bottomRight.row());
[conversationsView reloadDataForRowIndexes: [conversationsView reloadDataForRowIndexes:
[NSIndexSet indexSetWithIndexesInRange:NSMakeRange(topLeft.row(), bottomRight.row() + 1)] [NSIndexSet indexSetWithIndexesInRange:NSMakeRange(topLeft.row(), bottomRight.row() + 1)]
columnIndexes:[NSIndexSet indexSetWithIndexesInRange:NSMakeRange(0, conversationsView.tableColumns.count)]]; columnIndexes:[NSIndexSet indexSetWithIndexesInRange:NSMakeRange(0, conversationsView.tableColumns.count)]];
......
...@@ -206,7 +206,6 @@ ...@@ -206,7 +206,6 @@
QObject::connect(CallModel::instance()->selectionModel(), QObject::connect(CallModel::instance()->selectionModel(),
&QItemSelectionModel::currentChanged, &QItemSelectionModel::currentChanged,
[=](const QModelIndex &current, const QModelIndex &previous) { [=](const QModelIndex &current, const QModelIndex &previous) {
NSLog(@"selection changed!");
if(!current.isValid()) { if(!current.isValid()) {
[self animateOut]; [self animateOut];
return; return;
...@@ -219,14 +218,12 @@ ...@@ -219,14 +218,12 @@
QObject::connect(CallModel::instance(), QObject::connect(CallModel::instance(),
&QAbstractItemModel::dataChanged, &QAbstractItemModel::dataChanged,
[=](const QModelIndex &topLeft, const QModelIndex &bottomRight) { [=](const QModelIndex &topLeft, const QModelIndex &bottomRight) {
NSLog(@"data changed!");
[self updateCall]; [self updateCall];
}); });
QObject::connect(CallModel::instance()->userActionModel(), QObject::connect(CallModel::instance()->userActionModel(),
&QAbstractItemModel::dataChanged, &QAbstractItemModel::dataChanged,
[=](const QModelIndex &topLeft, const QModelIndex &bottomRight) { [=](const QModelIndex &topLeft, const QModelIndex &bottomRight) {
NSLog(@"useraction changed");
const int first(topLeft.row()),last(bottomRight.row()); const int first(topLeft.row()),last(bottomRight.row());
for(int i = first; i <= last;i++) { for(int i = first; i <= last;i++) {
[self updateActionAtIndex:i]; [self updateActionAtIndex:i];
...@@ -236,7 +233,6 @@ ...@@ -236,7 +233,6 @@
QObject::connect(CallModel::instance(), QObject::connect(CallModel::instance(),
&CallModel::callStateChanged, &CallModel::callStateChanged,
[self](Call* c, Call::State state) { [self](Call* c, Call::State state) {
NSLog(@"callStateChanged");
[self updateCall]; [self updateCall];
}); });
} }
...@@ -255,7 +251,6 @@ ...@@ -255,7 +251,6 @@
if(call->videoRenderer()) if(call->videoRenderer())
{ {
NSLog(@"GONNA CONNECT TO FRAMES");
[self connectVideoRenderer:call->videoRenderer()]; [self connectVideoRenderer:call->videoRenderer()];
} }
......
...@@ -247,7 +247,6 @@ static NSString* const kCallButtonIdentifer = @"CallButtonIdentifier"; ...@@ -247,7 +247,6 @@ static NSString* const kCallButtonIdentifer = @"CallButtonIdentifier";
- (BOOL)control:(NSControl *)control textView:(NSTextView *)fieldEditor doCommandBySelector:(SEL)commandSelector - (BOOL)control:(NSControl *)control textView:(NSTextView *)fieldEditor doCommandBySelector:(SEL)commandSelector
{ {
NSLog(@"Selector method is (%@)", NSStringFromSelector( commandSelector ) );
if (commandSelector == @selector(insertNewline:)) { if (commandSelector == @selector(insertNewline:)) {
if([[callField stringValue] isNotEqualTo:@""]) { if([[callField stringValue] isNotEqualTo:@""]) {
[self placeCall:nil]; [self placeCall:nil];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment