Skip to content
Snippets Groups Projects
Commit bb9771ea authored by Emmanuel Lepage's avatar Emmanuel Lepage
Browse files

[ #12471 ] Doing nothing when a conference is dropped on itself

parent 0b06cfcb
No related branches found
No related tags found
No related merge requests found
...@@ -207,6 +207,10 @@ bool CallView::callToCall(QTreeWidgetItem *parent, int index, const QMimeData *d ...@@ -207,6 +207,10 @@ bool CallView::callToCall(QTreeWidgetItem *parent, int index, const QMimeData *d
kDebug() << "Call dropped on itself (doing nothing)"; kDebug() << "Call dropped on itself (doing nothing)";
return true; return true;
} }
else if (SFLPhone::model()->getIndex(encodedCallId) == parent) {
kDebug() << "Dropping conference on itself (doing nothing)";
return true;
}
if ((parent->childCount()) && (SFLPhone::model()->getIndex(encodedCallId)->childCount())) { if ((parent->childCount()) && (SFLPhone::model()->getIndex(encodedCallId)->childCount())) {
kDebug() << "Merging two conferences"; kDebug() << "Merging two conferences";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment