--- qterm/qtermcanvas.cpp.orig Fri Dec 17 19:26:35 2004
+++ qterm/qtermcanvas.cpp Fri Dec 17 19:26:39 2004
@@ -238,7 +238,7 @@
if(strSave.isEmpty())
return;
QString fmt = fi.extension(false).upper();
- if(!pxm.save(strSave, fmt=="JPG"?"JPEG":fmt))
+ if(!pxm.save(strSave, fmt=="JPG"?QString("JPEG"):fmt))
QMessageBox::warning(this, "Failed to save file", "Cant save file, maybe format not supported");
}
--- qterm/qtermiplocation.cpp.orig Tue Dec 14 18:45:37 2004
--- qterm/qtermiplocation.cpp.orig Tue Dec 7 03:23:24 2004
+++ qterm/qtermiplocation.cpp Tue Dec 14 18:46:21 2004
+++ qterm/qtermiplocation.cpp Fri Dec 17 19:24:22 2004
@@ -9,8 +9,8 @@
#ifdef Q_OS_WIN32
#include <winsock2.h>
#else
-#include <netinet/in.h>
#include <arpa/inet.h>
+#include <netinet/in.h>
#endif
#include <qstring.h>
@@ -79,13 +79,13 @@
if( fseek( fp, (long)offset, SEEK_SET ) ==-1 )
{