diff layer/TimeValueLayer.cpp @ 919:a5488775f880 osx-retina

Pass proxy to layer for painting
author Chris Cannam
date Wed, 18 Mar 2015 13:52:07 +0000
parents 4fe7a09be0fe
children fa96108d552d
line wrap: on
line diff
--- a/layer/TimeValueLayer.cpp	Tue Mar 17 16:56:03 2015 +0000
+++ b/layer/TimeValueLayer.cpp	Wed Mar 18 13:52:07 2015 +0000
@@ -1703,7 +1703,7 @@
     if (clipboardHasDifferentAlignment(v, from)) {
 
         QMessageBox::StandardButton button =
-            QMessageBox::question(v, tr("Re-align pasted items?"),
+            QMessageBox::question(v->getView(), tr("Re-align pasted items?"),
                                   tr("The items you are pasting came from a layer with different source material from this one.  Do you want to re-align them in time, to match the source material for this layer?"),
                                   QMessageBox::Yes | QMessageBox::No | QMessageBox::Cancel,
                                   QMessageBox::Yes);