Diffstat (limited to 'noncore/tools/remote/learntab.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/tools/remote/learntab.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/tools/remote/learntab.cpp b/noncore/tools/remote/learntab.cpp index 1c746c5..7582161 100644 --- a/noncore/tools/remote/learntab.cpp +++ b/noncore/tools/remote/learntab.cpp | |||
@@ -78,26 +78,26 @@ QStringList LearnTab::getRemotes() | |||
78 | "couldnt connect to socket", | 78 | "couldnt connect to socket", |
79 | QMessageBox::NoIcon, | 79 | QMessageBox::NoIcon, |
80 | QMessageBox::Ok, | 80 | QMessageBox::Ok, |
81 | QMessageBox::NoButton, | 81 | QMessageBox::NoButton, |
82 | QMessageBox::NoButton); | 82 | QMessageBox::NoButton); |
83 | mb->exec(); | 83 | mb->exec(); |
84 | perror("ButtonDialog::GetRemotes"); | 84 | perror("LearnTab::GetRemotes"); |
85 | return NULL; | 85 | return NULL; |
86 | } | 86 | } |
87 | 87 | ||
88 | if(::connect(fd,(struct sockaddr *) &addr, sizeof(addr) ) == -1) | 88 | if(::connect(fd,(struct sockaddr *) &addr, sizeof(addr) ) == -1) |
89 | { | 89 | { |
90 | QMessageBox *mb = new QMessageBox("Error!", | 90 | QMessageBox *mb = new QMessageBox("Error!", |
91 | "couldnt connect to socket", | 91 | "couldnt connect to socket", |
92 | QMessageBox::NoIcon, | 92 | QMessageBox::NoIcon, |
93 | QMessageBox::Ok, | 93 | QMessageBox::Ok, |
94 | QMessageBox::NoButton, | 94 | QMessageBox::NoButton, |
95 | QMessageBox::NoButton); | 95 | QMessageBox::NoButton); |
96 | mb->exec(); | 96 | mb->exec(); |
97 | perror("ButtonDialog::GetRemotes"); | 97 | perror("LearnTab::GetRemotes"); |
98 | return NULL; | 98 | return NULL; |
99 | } | 99 | } |
100 | 100 | ||
101 | write(fd, write_buffer, strlen(write_buffer)); | 101 | write(fd, write_buffer, strlen(write_buffer)); |
102 | 102 | ||
103 | for(i=0; i<5; i++) | 103 | for(i=0; i<5; i++) |
@@ -121,13 +121,13 @@ QStringList LearnTab::getRemotes() | |||
121 | "bad packet", | 121 | "bad packet", |
122 | QMessageBox::NoIcon, | 122 | QMessageBox::NoIcon, |
123 | QMessageBox::Ok, | 123 | QMessageBox::Ok, |
124 | QMessageBox::NoButton, | 124 | QMessageBox::NoButton, |
125 | QMessageBox::NoButton); | 125 | QMessageBox::NoButton); |
126 | mb->exec(); | 126 | mb->exec(); |
127 | perror("ButtonDialog::GetRemotes"); | 127 | perror("LearnTab::GetRemotes"); |
128 | return NULL; | 128 | return NULL; |
129 | } | 129 | } |
130 | 130 | ||
131 | ::close(fd); | 131 | ::close(fd); |
132 | return list; | 132 | return list; |
133 | } | 133 | } |