aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authormarkus <markus@FreeBSD.org>2009-02-19 02:14:49 +0800
committermarkus <markus@FreeBSD.org>2009-02-19 02:14:49 +0800
commit3d1886d540bc9372ae7a34c29b244f670af78a9f (patch)
tree98c3e3dcfc3ad53d151ea8e050ec43defe1bcd4f /x11-toolkits
parent7d4af3b749c0e106c541860794e039e3583a8d80 (diff)
downloadfreebsd-ports-gnome-3d1886d540bc9372ae7a34c29b244f670af78a9f.tar.gz
freebsd-ports-gnome-3d1886d540bc9372ae7a34c29b244f670af78a9f.tar.zst
freebsd-ports-gnome-3d1886d540bc9372ae7a34c29b244f670af78a9f.zip
- Fix a bug in in QGraphicsProxyWidget that is responsible for many
notification related crashes in KDE4's plasma desktop. This patch will be part of Qt 4.4.4. - Bump PORTREVISION KDE Bug: 175753, 176235 Submitted by: Dwayne MacKinnon <dmk@ncf.ca> Obtained from: KDE SVN
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/qt4-gui/Makefile2
-rw-r--r--x11-toolkits/qt4-gui/files/patch-src-gui-graphicsview-qgraphicsproxywidget.cpp15
2 files changed, 16 insertions, 1 deletions
diff --git a/x11-toolkits/qt4-gui/Makefile b/x11-toolkits/qt4-gui/Makefile
index 801bd8919668..a37e8a0ae22b 100644
--- a/x11-toolkits/qt4-gui/Makefile
+++ b/x11-toolkits/qt4-gui/Makefile
@@ -8,7 +8,7 @@
PORTNAME= gui
PORTVERSION= ${QT4_VERSION}
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES?= x11-toolkits
MASTER_SITES= ${MASTER_SITE_QT}
PKGNAMEPREFIX= qt4-
diff --git a/x11-toolkits/qt4-gui/files/patch-src-gui-graphicsview-qgraphicsproxywidget.cpp b/x11-toolkits/qt4-gui/files/patch-src-gui-graphicsview-qgraphicsproxywidget.cpp
new file mode 100644
index 000000000000..d115e1406e3f
--- /dev/null
+++ b/x11-toolkits/qt4-gui/files/patch-src-gui-graphicsview-qgraphicsproxywidget.cpp
@@ -0,0 +1,15 @@
+--- src/gui/graphicsview/qgraphicsproxywidget.cpp
++++ src/gui/graphicsview/qgraphicsproxywidget.cpp
+@@ -521,9 +521,8 @@
+ {
+ Q_D(QGraphicsProxyWidget);
+ if (d->widget) {
+- QWidget *w = d->widget;
+- setWidget(0);
+- delete w;
++ QObject::disconnect(d->widget, SIGNAL(destroyed()), this, SLOT(_q_removeWidgetSlot()));
++ delete d->widget;
+ }
+ }
+
+