Bugzilla – Attachment 54194 Details for
Bug 40298
EDITING: Crash when moving cells, QX11PixmapData::createCompatiblePixmapData
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
libreoffice 3.4.3 fix to start xinitthread, makes qpixmap happy as it uses xlib thread safe access
qt-xinitthreads.patch (text/plain), 885 bytes, created by
Rafael da Veiga Cabral
on 2011-12-07 10:06:38 UTC
(
hide
)
Description:
libreoffice 3.4.3 fix to start xinitthread, makes qpixmap happy as it uses xlib thread safe access
Filename:
MIME Type:
Creator:
Rafael da Veiga Cabral
Created:
2011-12-07 10:06:38 UTC
Size:
885 bytes
patch
obsolete
>--- ./vcl/unx/kde4/main.cxx 2011-05-20 16:06:22.000000000 +0000 >+++ ./vcl/unx/kde4/main.cxx 2011-10-31 11:01:16.000000000 +0000 >@@ -54,7 +54,18 @@ > established, so protect X against itself > */ > if( ! ( pNoXInitThreads && *pNoXInitThreads ) ) >+ { >+#if QT_VERSION >= 0x040800 >+ // let Qt call XInitThreads(), so that also Qt knows it's been used >+ // (otherwise QPixmap may warn about threads not being initialized) >+ QApplication::setAttribute( Qt::AA_X11InitThreads ); >+#else > XInitThreads(); >+ // just in case somebody builds with old version and then upgrades Qt, >+ // otherwise this is a no-op >+ QApplication::setAttribute( static_cast< Qt::ApplicationAttribute >( 10 )); >+#endif >+ } > > #if QT_VERSION < 0x050000 > // Qt 4.x support needs >= 4.1.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 40298
:
50464
|
50465
|
53777
|
54150
| 54194