summaryrefslogtreecommitdiff
path: root/sci-chemistry/molsketch/files/molsketch-0.4.1-more-quotes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sci-chemistry/molsketch/files/molsketch-0.4.1-more-quotes.patch')
-rw-r--r--sci-chemistry/molsketch/files/molsketch-0.4.1-more-quotes.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sci-chemistry/molsketch/files/molsketch-0.4.1-more-quotes.patch b/sci-chemistry/molsketch/files/molsketch-0.4.1-more-quotes.patch
new file mode 100644
index 000000000000..c32b975778eb
--- /dev/null
+++ b/sci-chemistry/molsketch/files/molsketch-0.4.1-more-quotes.patch
@@ -0,0 +1,11 @@
+--- a/libmolsketch/src/molscene.cpp
++++ b/libmolsketch/src/molscene.cpp
+@@ -842,7 +842,7 @@
+ void MolScene::dragEnterEvent(QGraphicsSceneDragDropEvent *event)
+ {
+ if (!event->mimeData() || !event->mimeData()->hasFormat(mimeType())) return;
+- if (!event->proposedAction() == Qt::CopyAction) return;
++ if ((!event->proposedAction()) == Qt::CopyAction) return;
+ event->accept();
+ for (genericAction* action : sceneActions())
+ action->setChecked(false);