summaryrefslogtreecommitdiff
path: root/noncore/net/wellenreiter/gui/mainwindow.cpp
Unidiff
Diffstat (limited to 'noncore/net/wellenreiter/gui/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/wellenreiter/gui/mainwindow.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/noncore/net/wellenreiter/gui/mainwindow.cpp b/noncore/net/wellenreiter/gui/mainwindow.cpp
index ef7ffcf..3e18531 100644
--- a/noncore/net/wellenreiter/gui/mainwindow.cpp
+++ b/noncore/net/wellenreiter/gui/mainwindow.cpp
@@ -31,9 +31,6 @@
31#include <qapplication.h> 31#include <qapplication.h>
32#include <qfiledialog.h> 32#include <qfiledialog.h>
33#endif 33#endif
34using namespace Opie::Core;
35using namespace Opie::Net;
36using namespace Opie::Ui;
37 34
38/* QT */ 35/* QT */
39#include <qcombobox.h> 36#include <qcombobox.h>
@@ -57,6 +54,10 @@ using namespace Opie::Ui;
57/* STD */ 54/* STD */
58#include <unistd.h> 55#include <unistd.h>
59 56
57using namespace Opie::Core;
58using namespace Opie::Net;
59using namespace Opie::Ui;
60
60WellenreiterMainWindow::WellenreiterMainWindow( QWidget * parent, const char * name, WFlags f ) 61WellenreiterMainWindow::WellenreiterMainWindow( QWidget * parent, const char * name, WFlags f )
61 :QMainWindow( parent, name, f ) 62 :QMainWindow( parent, name, f )
62{ 63{
@@ -468,7 +469,7 @@ void WellenreiterMainWindow::uploadSession()
468 return; 469 return;
469 } 470 }
470 471
471 int content_length = f.size(); 472// int content_length = f.size();
472 473
473 ::memset( &raddr, 0, sizeof (struct sockaddr_in) ); 474 ::memset( &raddr, 0, sizeof (struct sockaddr_in) );
474 ::memcpy( &raddr. sin_addr, rhost_info-> h_addr, rhost_info-> h_length ); 475 ::memcpy( &raddr. sin_addr, rhost_info-> h_addr, rhost_info-> h_length );