diff options
author | Michael Nottebrock <lofi@FreeBSD.org> | 2003-10-11 12:09:14 +0000 |
---|---|---|
committer | Michael Nottebrock <lofi@FreeBSD.org> | 2003-10-11 12:09:14 +0000 |
commit | 471922875775cfbf2f28fa99cf6273bc48894786 (patch) | |
tree | c52add779c7dd287a643b56d429b3ac83733c659 /net/kdenetwork3 | |
parent | Update for VMware Workstation 4.0.5 build-6030. (diff) |
Add a patch that fixes a middlemouse pasting bug in ksirc.
Add CONFLICTS.
PR: ports/57593
Notes
Notes:
svn path=/head/; revision=90848
Diffstat (limited to 'net/kdenetwork3')
-rw-r--r-- | net/kdenetwork3/Makefile | 2 | ||||
-rw-r--r-- | net/kdenetwork3/files/patch-ksirc-kstextview.cpp | 13 |
2 files changed, 15 insertions, 0 deletions
diff --git a/net/kdenetwork3/Makefile b/net/kdenetwork3/Makefile index 1c851b1ab554..cbe7449d7776 100644 --- a/net/kdenetwork3/Makefile +++ b/net/kdenetwork3/Makefile @@ -18,6 +18,8 @@ COMMENT= Network-related programs and modules for KDE LIB_DEPENDS= uu.2:${PORTSDIR}/converters/uulib +CONFLICTS= mimelib-1.1.* + USE_KDELIBS_VER=3 PREFIX= ${KDE_PREFIX} KDE_BUILD_PLIST=yes diff --git a/net/kdenetwork3/files/patch-ksirc-kstextview.cpp b/net/kdenetwork3/files/patch-ksirc-kstextview.cpp new file mode 100644 index 000000000000..da07e4149446 --- /dev/null +++ b/net/kdenetwork3/files/patch-ksirc-kstextview.cpp @@ -0,0 +1,13 @@ +--- ksirc/kstextview.cpp ++++ ksirc/kstextview.cpp +@@ -1954,9 +1954,5 @@ void TextView::contentsMouseReleaseEvent + if (ev->button() & Qt::MidButton) + { +- QClipboard *cp = KApplication::clipboard(); +- bool restoreMode = cp->selectionModeEnabled(); +- cp->setSelectionMode(true); +- emit pasteReq( cp->text() ); +- cp->setSelectionMode(restoreMode); ++ emit pasteReq( KApplication::clipboard()->text( QClipboard::Selection) ); + return; + } |