1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Fix build with upcoming Qt-4.7

Approved by:	maintainer
This commit is contained in:
Max Brazhnikov 2010-12-02 08:02:18 +00:00
parent b2a35a898b
commit 3be8f46758
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=265556

View File

@ -0,0 +1,14 @@
--- ./src/plugins/dataforms/dataforms.cpp.orig 2010-02-04 23:15:54.000000000 +0300
+++ ./src/plugins/dataforms/dataforms.cpp 2010-12-02 00:40:53.396505897 +0300
@@ -1087,9 +1087,11 @@
reply->ignoreSslErrors();
}
+#if (QT_VERSION <= QT_VERSION_CHECK(4, 7, 0))
uint qHash(const QUrl &key)
{
return qHash(key.toString());
}
+#endif
Q_EXPORT_PLUGIN2(plg_dataforms, DataForms);