[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/4.4/kdelibs/kio/kio
From: Dawit Alemayehu <adawit () kde ! org>
Date: 2010-03-28 17:21:30
Message-ID: 20100328172130.C7A20AC881 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1108353 by adawit:
Use SlaveBase::connectTimeout() so that config changes take immediate effect when a \
user modifies those values
M +1 -3 tcpslavebase.cpp
--- branches/KDE/4.4/kdelibs/kio/kio/tcpslavebase.cpp #1108352:1108353
@@ -154,7 +154,6 @@
TCPSlaveBase* q;
- int timeout;
bool isBlocking;
KTcpSocket socket;
@@ -187,7 +186,6 @@
: SlaveBase(protocol, poolSocket, appSocket),
d(new TcpSlaveBasePrivate(this))
{
- d->timeout = KProtocolManager::connectTimeout();
d->isBlocking = true;
d->port = 0;
d->serviceName = protocol;
@@ -348,7 +346,7 @@
}
QListIterator<QHostAddress> it(addresses);
- int timeout = d->timeout * 1000;
+ int timeout = connectTimeout() * 1000;
QTime time;
forever {
time.start();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic