Gentoo Archives: gentoo-commits

From: "Johannes Huber (johu)" <johu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in kde-base/kmail/files: kmail-4.8.3-qt47-compat.patch
Date: Fri, 04 May 2012 13:33:40
Message-Id: 20120504133325.E82C92004B@flycatcher.gentoo.org
1 johu 12/05/04 13:33:25
2
3 Added: kmail-4.8.3-qt47-compat.patch
4 Log:
5 Add upstream patch to fix build with Qt 4.7 wrt #414569. Thanks to upstream maintainer Montel Laurent.
6
7 (Portage version: 2.2.0_alpha101/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 kde-base/kmail/files/kmail-4.8.3-qt47-compat.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kmail/files/kmail-4.8.3-qt47-compat.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kmail/files/kmail-4.8.3-qt47-compat.patch?rev=1.1&content-type=text/plain
14
15 Index: kmail-4.8.3-qt47-compat.patch
16 ===================================================================
17 --- a/messageviewer/viewer_p.cpp
18 +++ b/messageviewer/viewer_p.cpp
19 @@ -1930,8 +1930,10 @@ void ViewerPrivate::slotToggleHtmlMode()
20
21 void ViewerPrivate::slotFind()
22 {
23 +#if QT_VERSION >= 0x040800
24 if ( mViewer->hasSelection() )
25 mFindBar->setText( mViewer->selectedText() );
26 +#endif
27 mFindBar->show();
28 mFindBar->focusAndSetCursor();
29 }