New upstream version 25.0.8+dfsg1
This commit is contained in:
parent
8b2e5f2130
commit
8e020cdacb
115 changed files with 1767 additions and 10949 deletions
|
|
@ -169,6 +169,12 @@ void OBSBasic::AddDropSource(const char *data, DropType image)
|
|||
|
||||
void OBSBasic::dragEnterEvent(QDragEnterEvent *event)
|
||||
{
|
||||
// refuse drops of our own widgets
|
||||
if (event->source() != nullptr) {
|
||||
event->setDropAction(Qt::IgnoreAction);
|
||||
return;
|
||||
}
|
||||
|
||||
event->acceptProposedAction();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue