|
|
|
@ -37,10 +37,10 @@
@@ -37,10 +37,10 @@
|
|
|
|
|
#include "src/model/status.h" |
|
|
|
|
#include "src/persistence/settings.h" |
|
|
|
|
#include "src/widget/contentlayout.h" |
|
|
|
|
#include "src/widget/friendwidget.h" |
|
|
|
|
#include "src/widget/groupwidget.h" |
|
|
|
|
#include "src/widget/form/chatform.h" |
|
|
|
|
#include "src/widget/friendlistlayout.h" |
|
|
|
|
#include "src/widget/friendwidget.h" |
|
|
|
|
#include "src/widget/groupwidget.h" |
|
|
|
|
#include "src/widget/style.h" |
|
|
|
|
#include "src/widget/tool/adjustingscrollarea.h" |
|
|
|
|
#include "src/widget/translator.h" |
|
|
|
@ -499,7 +499,7 @@ void ContentDialog::dropEvent(QDropEvent* event)
@@ -499,7 +499,7 @@ void ContentDialog::dropEvent(QDropEvent* event)
|
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Widget::getInstance()->addFriendDialog(contact, this); |
|
|
|
|
emit addFriendDialog(contact, this); |
|
|
|
|
ensureSplitterVisible(); |
|
|
|
|
} else if (group) { |
|
|
|
|
assert(event->mimeData()->hasFormat("groupId")); |
|
|
|
@ -509,7 +509,7 @@ void ContentDialog::dropEvent(QDropEvent* event)
@@ -509,7 +509,7 @@ void ContentDialog::dropEvent(QDropEvent* event)
|
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Widget::getInstance()->addGroupDialog(contact, this); |
|
|
|
|
emit addGroupDialog(contact, this); |
|
|
|
|
ensureSplitterVisible(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|