r19383 by craig - #12564: Apple patch to fix image drag issues

scribus-commit scribus-commit at lists.scribus.net
Tue Jul 29 19:01:06 UTC 2014


Author: craig
Date: Tue Jul 29 19:01:06 2014
New Revision: 19383

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19383
Log:
#12564: Apple patch to fix image drag issues

Modified:
    trunk/Scribus/scribus/scribusview.cpp

Modified: trunk/Scribus/scribus/scribusview.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19383&path=/trunk/Scribus/scribus/scribusview.cpp
==============================================================================
--- trunk/Scribus/scribus/scribusview.cpp (original)
+++ trunk/Scribus/scribus/scribusview.cpp Tue Jul 29 19:01:06 2014
@@ -676,7 +676,7 @@
 		url  = QUrl(text);
 	}
 	else*/
-	if (e->mimeData()->hasText())
+	if (e->mimeData()->hasText() && (!e->mimeData()->text().isEmpty()))
 	{
 		text = e->mimeData()->text();
 		url = QUrl(text);




More information about the scribus-commit mailing list