aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/qorganizer
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-08-05 05:40:47 +0800
committermiwi <miwi@FreeBSD.org>2009-08-05 05:40:47 +0800
commit127a9ac1217f900c848ed2b59c84fc4490ed0f96 (patch)
treeb466794361fd67ea87382070efb2cf37b005ec8c /deskutils/qorganizer
parentc3733f16cb603a56b1e2d8d52f66b672167f848c (diff)
downloadfreebsd-ports-gnome-127a9ac1217f900c848ed2b59c84fc4490ed0f96.tar.gz
freebsd-ports-gnome-127a9ac1217f900c848ed2b59c84fc4490ed0f96.tar.zst
freebsd-ports-gnome-127a9ac1217f900c848ed2b59c84fc4490ed0f96.zip
- Fix build with qt 4.5
Diffstat (limited to 'deskutils/qorganizer')
-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