summaryrefslogtreecommitdiffstats
path: root/experimental
diff options
context:
space:
mode:
Diffstat (limited to 'experimental')
-rw-r--r--experimental/tqtinterface/qt4/plugins/src/inputmethods/xim/xim.pro1
-rw-r--r--experimental/tqtinterface/qt4/src/kernel/tqjpegio.cpp6
2 files changed, 4 insertions, 3 deletions
diff --git a/experimental/tqtinterface/qt4/plugins/src/inputmethods/xim/xim.pro b/experimental/tqtinterface/qt4/plugins/src/inputmethods/xim/xim.pro
index 9a65291f1..994f0d443 100644
--- a/experimental/tqtinterface/qt4/plugins/src/inputmethods/xim/xim.pro
+++ b/experimental/tqtinterface/qt4/plugins/src/inputmethods/xim/xim.pro
@@ -6,6 +6,7 @@ INCLUDEPATH += .
CONFIG += qt warn_on debug plugin
target.path += $$plugins.path/inputmethods
INSTALLS += target
+DEFINES += QT_NO_XINERAMA
# Input
HEADERS += qximinputcontext.h \
diff --git a/experimental/tqtinterface/qt4/src/kernel/tqjpegio.cpp b/experimental/tqtinterface/qt4/src/kernel/tqjpegio.cpp
index dbaa301f9..1f3ffd88b 100644
--- a/experimental/tqtinterface/qt4/src/kernel/tqjpegio.cpp
+++ b/experimental/tqtinterface/qt4/src/kernel/tqjpegio.cpp
@@ -203,13 +203,13 @@ void read_jpeg_image(TQImageIO* iio)
struct my_jpeg_source_mgr *iod_src = new my_jpeg_source_mgr(iio);
struct my_error_mgr jerr;
+ cinfo.err = jpeg_std_error(&jerr);
+ jerr.error_exit = my_error_exit;
+
jpeg_create_decompress(&cinfo);
cinfo.src = iod_src;
- cinfo.err = jpeg_std_error(&jerr);
- jerr.error_exit = my_error_exit;
-
if (!setjmp(jerr.setjmp_buffer)) {
#if defined(TQ_OS_UNIXWARE)
(void) jpeg_read_header(&cinfo, B_TRUE);