aboutsummaryrefslogtreecommitdiff
path: root/deskutils
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-08-04 21:40:47 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-08-04 21:40:47 +0000
commitd7d1dddbb3b5e2cdcf228bdc828dbfc4f79af4f8 (patch)
tree6381947d80756cabce907d8923dcdb40b8c9d21f /deskutils
parent12eeb3c8fffdc6fdff57cf221e7dbeaa3f3f6735 (diff)
downloadports-d7d1dddbb3b5e2cdcf228bdc828dbfc4f79af4f8.tar.gz
ports-d7d1dddbb3b5e2cdcf228bdc828dbfc4f79af4f8.zip
Notes
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/qorganizer/files/patch-qOrganizer-qt-4.5.022
1 files changed, 22 insertions, 0 deletions
diff --git a/deskutils/qorganizer/files/patch-qOrganizer-qt-4.5.0 b/deskutils/qorganizer/files/patch-qOrganizer-qt-4.5.0
new file mode 100644
index 000000000000..708994d69797
--- /dev/null
+++ b/deskutils/qorganizer/files/patch-qOrganizer-qt-4.5.0
@@ -0,0 +1,22 @@
+--- qorganizer.cpp.orig 2009-04-06 07:56:17 +0000
++++ qorganizer.cpp 2009-04-06 07:56:23 +0000
+@@ -1511,7 +1511,7 @@ void CQTextEdit::insertFromMimeData( con
+ QImage *image = new QImage(origin);
+ if(!image->isNull())
+ {
+- document->addResource(QTextDocument::ImageResource,origin,image);
++ document->addResource(QTextDocument::ImageResource,origin,QVariant::fromValue(image));
+ cursor.insertImage(origin);
+ }
+ delete image;
+--- qorganizer.h.orig 2009-04-06 07:56:12 +0000
++++ qorganizer.h 2009-04-06 07:56:39 +0000
+@@ -104,6 +104,8 @@ class CQTextEdit:public QTextEdit
+
+ };
+
++Q_DECLARE_METATYPE(QImage*);
++
+ //LineEdit with clear button on the right.
+
+ class LineEdit : public QLineEdit