Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 652580 | Differences between
and this patch

Collapse All | Expand All

(-)a/libmolsketch/molscene.cpp (-1 / +1 lines)
Lines 618-624 Link Here
618
  void MolScene::dragEnterEvent(QGraphicsSceneDragDropEvent *event)
618
  void MolScene::dragEnterEvent(QGraphicsSceneDragDropEvent *event)
619
  {
619
  {
620
    if (!event->mimeData() || !event->mimeData()->hasFormat(mimeType())) return;
620
    if (!event->mimeData() || !event->mimeData()->hasFormat(mimeType())) return;
621
    if (!event->proposedAction() == Qt::CopyAction) return;
621
    if ((!event->proposedAction()) == Qt::CopyAction) return;
622
    event->accept();
622
    event->accept();
623
    for (genericAction* action : sceneActions())
623
    for (genericAction* action : sceneActions())
624
      action->setChecked(false);
624
      action->setChecked(false);

Return to bug 652580