Diffstat (limited to 'noncore/unsupported/mailit/popclient.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/unsupported/mailit/popclient.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/unsupported/mailit/popclient.cpp b/noncore/unsupported/mailit/popclient.cpp index 6105d09..fedc4e2 100644 --- a/noncore/unsupported/mailit/popclient.cpp +++ b/noncore/unsupported/mailit/popclient.cpp @@ -29,6 +29,7 @@ extern "C" { PopClient::PopClient() { + socket = new QSocket(this, "popClient"); connect(socket, SIGNAL(error(int)), this, SLOT(errorHandling(int))); connect(socket, SIGNAL(connected()), this, SLOT(connectionEstablished())); @@ -118,6 +119,7 @@ void PopClient::incomingData() // if ( !socket->canReadLine() ) // return; + response = socket->readLine(); switch(status) { @@ -157,6 +159,7 @@ void PopClient::incomingData() case Pass: { *stream << "PASS " << popPassword << "\r\n"; status = Stat; + break; } //ask for number of messages @@ -273,7 +276,6 @@ void PopClient::incomingData() if (x == -1) { break; } else { //message reach entire size - if ( (selected)||(mailSize <= headerLimit)) //mail size limit is not used if late download is active { emit newMessage(message, messageCount-1, mailSize, TRUE); |