diff options
author | Andreas Tobler <a.tobler@schweiz.org> | 2006-01-01 20:57:30 +0000 |
---|---|---|
committer | Andreas Tobler <a.tobler@schweiz.org> | 2006-01-01 20:57:30 +0000 |
commit | 016bea809a19478ff9fd17e2698af63bee242999 (patch) | |
tree | 6381db4787e572dd8f403a86a88fea965713d011 /native/jni/qt-peer | |
parent | 55753cbe4204f10e50d0fc900f5b3aa682cd4176 (diff) | |
download | classpath-016bea809a19478ff9fd17e2698af63bee242999.tar.gz |
2006-01-01 Andreas Tobler <a.tobler@schweiz.ch>
* native/jni/qt-peer/mainqtthread.cpp: Remove call to disable double
buffering. Ability has gone in Qt-4.1.x.
* configure.ac (QT_CFLAGS): Check for 4.1.0 version and for QtCore
to have the right include flags.
Diffstat (limited to 'native/jni/qt-peer')
-rw-r--r-- | native/jni/qt-peer/mainqtthread.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/native/jni/qt-peer/mainqtthread.cpp b/native/jni/qt-peer/mainqtthread.cpp index 7922dbcf1..19566c63b 100644 --- a/native/jni/qt-peer/mainqtthread.cpp +++ b/native/jni/qt-peer/mainqtthread.cpp @@ -45,9 +45,6 @@ exception statement from your version. */ MainThreadInterface *mainThread; QApplication *qApplication; -#if defined(Q_WS_X11) -extern void qt_x11_set_global_double_buffer( bool ); -#endif /** * Starts up a QApplication @@ -92,11 +89,6 @@ JNIEXPORT jlong JNICALL Java_gnu_java_awt_peer_qt_MainQtThread_init jfieldID nofid = env->GetFieldID( cls, "mainThreadInterface", "J" ); env->SetLongField( obj, nofid, (jlong)mainThread ); -#if defined(Q_WS_X11) - // turn off double-buffering. - qt_x11_set_global_double_buffer( (doublebuffer == JNI_TRUE) ); -#endif - return (jlong)qtApp; } |