Merge branch 'rochade' into master
[alioth/musescore.git] / debian / patches / upstream / crash-drag.diff
index 28ea377..093cd6c 100644 (file)
@@ -16,8 +16,8 @@ Description: fix #297152: crash on Ctrl+Shift+drag on Linux (under ChromeOS)
 
 --- a/mscore/scoreview.cpp
 +++ b/mscore/scoreview.cpp
-@@ -4842,8 +4842,10 @@ void ScoreView::cloneElement(Element* e)
-             e = static_cast<SpannerSegment*>(e)->spanner();
+@@ -3628,8 +3628,10 @@ void ScoreView::cloneElement(Element* e)
+             e = toSpannerSegment(e)->spanner();
        mimeData->setData(mimeSymbolFormat, e->mimeData(QPointF()));
        drag->setMimeData(mimeData);
 -      drag->setPixmap(QPixmap());