| 157 | |
| 158 | |
| 159 | void PersistentConnection::initWithThread(TCPThread * thethread, quint16 portNum) |
| 160 | { |
| 161 | |
| 162 | thread = thethread; |
| 163 | |
| 164 | if (thread->isSecure) { |
| 165 | setWindowTitle("SSL://"+tr("You:") + QString::number(portNum)); |
| 166 | } else { |
| 167 | setWindowTitle("TCP://"+tr("You:") + QString::number(portNum)); |
| 168 | } |
| 169 | |
| 170 | QApplication::processEvents(); |
| 171 | |
| 172 | ui->stopResendingButton->hide(); |
| 173 | |
| 174 | QApplication::processEvents(); |
| 175 | } |
| 176 | |
| 177 | |
| 178 | void PersistentConnection::init() |