r18117 by fschmid - Fix non working dragging of images from the Picture Browser to the canvas.
scribus-commit
scribus-commit at lists.scribus.net
Sun Jan 27 16:23:55 UTC 2013
Author: fschmid
Date: Sun Jan 27 16:23:55 2013
New Revision: 18117
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18117
Log:
Fix non working dragging of images from the Picture Browser to the canvas.
Modified:
trunk/Scribus/scribus/plugins/picbrowser/previewimage.cpp
Modified: trunk/Scribus/scribus/plugins/picbrowser/previewimage.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18117&path=/trunk/Scribus/scribus/plugins/picbrowser/previewimage.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/picbrowser/previewimage.cpp (original)
+++ trunk/Scribus/scribus/plugins/picbrowser/previewimage.cpp Sun Jan 27 16:23:55 2013
@@ -590,7 +590,7 @@
if ( ( row >= 0 ) && ( row < modelItemsList.size() ) )
{
imageFile = modelItemsList.at ( row )->fileInformation.absoluteFilePath();
- urls.append ( QUrl ( imageFile ) );
+ urls.append (QUrl::fromLocalFile(imageFile));
}
}
}
More information about the scribus-commit
mailing list