SOURCES (DEVEL): qt4-ptrXcursor.patch - better?

shadzik shadzik at pld-linux.org
Sat Feb 23 16:55:04 CET 2008


Author: shadzik                      Date: Sat Feb 23 15:55:04 2008 GMT
Module: SOURCES                       Tag: DEVEL
---- Log message:
- better?

---- Files affected:
SOURCES:
   qt4-ptrXcursor.patch (1.1.2.1 -> 1.1.2.2) 

---- Diffs:

================================================================
Index: SOURCES/qt4-ptrXcursor.patch
diff -u SOURCES/qt4-ptrXcursor.patch:1.1.2.1 SOURCES/qt4-ptrXcursor.patch:1.1.2.2
--- SOURCES/qt4-ptrXcursor.patch:1.1.2.1	Sat Feb 23 16:49:22 2008
+++ SOURCES/qt4-ptrXcursor.patch	Sat Feb 23 16:54:58 2008
@@ -1,11 +1,14 @@
---- src/gui/kernel/qapplication_x11.cpp	2007-12-18 11:52:08.000000000 +0100
-+++ src/gui/kernel/qapplication_x11.cpp-new	2008-02-23 16:29:23.550847092 +0100
-@@ -1699,7 +1699,7 @@
+--- src/gui/kernel/qapplication_x11.cpp-old	2008-02-23 16:42:52.742864418 +0100
++++ src/gui/kernel/qapplication_x11.cpp	2008-02-23 16:41:57.643563692 +0100
+@@ -1699,7 +1699,10 @@
                  (PtrXcursorLibraryLoadCursor) xcursorLib.resolve("XcursorLibraryLoadCursor");
          }
  #else
 -        ptrXcursorLibraryLoadCursor = XcursorLibraryLoadCursor;
++	QLibrary xcursorLib(QLatin1String("Xcursor"));
++	        if (xcursorLib.load()) {
 +        X11->ptrXcursorLibraryLoadCursor = (PtrXcursorLibraryLoadCursor) xcursorLib.resolve("XcursorLibraryLoadCursor");
++		}
  #endif // QT_RUNTIME_XCURSOR
  #endif // QT_NO_XCURSOR
  
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/qt4-ptrXcursor.patch?r1=1.1.2.1&r2=1.1.2.2&f=u



More information about the pld-cvs-commit mailing list