Home
Phabricator
Search
Log In
Paste
P72
Masterwork From Distant Lands
Active
Public
Actions
Authored by
dkazakov
on Mar 31 2017, 3:53 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Subscribers
None
diff --git a/libs/flake/KoSvgPaste.cpp b/libs/flake/KoSvgPaste.cpp
index 205cca0..972457e 100644
--- a/libs/flake/KoSvgPaste.cpp
+++ b/libs/flake/KoSvgPaste.cpp
@@ -32,9 +32,13 @@ KoSvgPaste::KoSvgPaste()
{
}
+#include "kis_debug.h"
+
bool KoSvgPaste::hasShapes() const
{
const QMimeData *mimeData = QApplication::clipboard()->mimeData();
+ qDebug() << ppVar(mimeData->formats());
+
return mimeData && mimeData->hasFormat("image/svg+xml");
}
dkazakov
edited the content of this paste.
(Show Details)
Mar 31 2017, 3:53 PM
dkazakov
changed the title of this paste from untitled to
Masterwork From Distant Lands
.
dkazakov
updated the paste's language from
autodetect
to
autodetect
.
Log In to Comment