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

(-)file_not_specified_in_diff (-2 / +2 lines)
Line  Link Here
0
-- a/libmolsketch/molscene.cpp
0
++ b/libmolsketch/molscene.cpp
Lines 842-848 Link Here
842
  void MolScene::dragEnterEvent(QGraphicsSceneDragDropEvent *event)
842
  void MolScene::dragEnterEvent(QGraphicsSceneDragDropEvent *event)
843
  {
843
  {
844
    if (!event->mimeData() || !event->mimeData()->hasFormat(mimeType())) return;
844
    if (!event->mimeData() || !event->mimeData()->hasFormat(mimeType())) return;
845
    if (!event->proposedAction() == Qt::CopyAction) return;
845
    if ((!event->proposedAction()) == Qt::CopyAction) return;
846
    event->accept();
846
    event->accept();
847
    for (genericAction* action : sceneActions())
847
    for (genericAction* action : sceneActions())
848
      action->setChecked(false);
848
      action->setChecked(false);

Return to bug 652580