From kde-commits Tue Oct 10 12:34:31 2006 From: Dirk Mueller Date: Tue, 10 Oct 2006 12:34:31 +0000 To: kde-commits Subject: branches/KDE/3.5/kdelibs/kdeprint/cups Message-Id: <1160483671.254674.14530.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=116048370018140 SVN commit 594190 by mueller: fix connect timeout being much too short due to s/ms confusion M +2 -2 kmcupsmanager.cpp --- branches/KDE/3.5/kdelibs/kdeprint/cups/kmcupsmanager.cpp #594189:594190 @@ -920,7 +920,7 @@ kdDebug(500) << "Checking for update possible" << endl; delete m_socket; m_socket = new KNetwork::KBufferedSocket; - m_socket->setTimeout( 1 ); + m_socket->setTimeout( 1500 ); connect( m_socket, SIGNAL( connected(const KResolverEntry&) ), SLOT( slotConnectionSuccess() ) ); connect( m_socket, SIGNAL( gotError( int ) ), SLOT( slotConnectionFailed( int ) ) ); @@ -958,7 +958,7 @@ void KMCupsManager::slotAsyncConnect() { - kdDebug(500) << "Starting async connect" << endl; + kdDebug(500) << "Starting async connect to " << CupsInfos::self()->hostaddr() << endl; //m_socket->startAsyncConnect(); if (CupsInfos::self()->host().startsWith("/")) m_socket->connect( QString(), CupsInfos::self()->host());