From ce9178fb13908eca5b7835e785fc0914a5022615 Mon Sep 17 00:00:00 2001 From: zecke Date: Sun, 23 Jun 2002 14:19:13 +0000 Subject: Simon thanks for the patch. Some clean ups. Patch provided by tronical OAOAOAOAOAOAOAOAOAOAOAOAOBOBCVS: noncore/tools/remote/dvdgroupconf.cpp --- (limited to 'noncore/tools/remote/remotetab.cpp') diff --git a/noncore/tools/remote/remotetab.cpp b/noncore/tools/remote/remotetab.cpp index 64b8ee4..5b02e94 100644 --- a/noncore/tools/remote/remotetab.cpp +++ b/noncore/tools/remote/remotetab.cpp @@ -16,7 +16,7 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #include "remotetab.h" -RemoteTab::RemoteTab(QWidget *parent=0, const char *name=0):QWidget(parent,name) +RemoteTab::RemoteTab(QWidget *parent, const char *name):QWidget(parent,name) { QVBoxLayout *layout = new QVBoxLayout(this); @@ -71,11 +71,11 @@ int RemoteTab::sendIR() QMessageBox::NoButton); mb->exec(); perror("RemoteTab::SendIR"); - return NULL; + return 0; } - if(std::connect(fd,(struct sockaddr *) &addr, sizeof(addr) ) == -1) + if(::connect(fd,(struct sockaddr *) &addr, sizeof(addr) ) == -1) { QMessageBox *mb = new QMessageBox("Error!", "couldnt connect to socket", @@ -103,7 +103,7 @@ int RemoteTab::sendIR() done=true; } } - std::close(fd); + ::close(fd); } // printf("%s\n", readPacket()); -- cgit v0.9.0.2