[Marble-commits] KDE/kdeedu/marble/src/lib/routing
Dennis Nienhüser
earthwings at gentoo.org
Sat Aug 28 11:55:40 CEST 2010
SVN commit 1169061 by nienhueser:
Decrease minimum wait time to give fast routers a chance to deliver results quickly.
M +1 -1 AlternativeRoutesModel.cpp
--- trunk/KDE/kdeedu/marble/src/lib/routing/AlternativeRoutesModel.cpp #1169060:1169061
@@ -331,7 +331,7 @@
// First
int responseTime = d->m_responseTime.elapsed();
d->m_restrainedRoutes.push_back( document );
- int timeout = qMin<int>( 2000, qMax<int>( 500, responseTime * 2 ) );
+ int timeout = qMin<int>( 2000, qMax<int>( 50, responseTime * 2 ) );
QTimer::singleShot( timeout, this, SLOT( addRestrainedRoutes() ) );
return;
} else if ( d->m_routes.isEmpty() && !d->m_restrainedRoutes.isEmpty() ) {
More information about the Marble-commits
mailing list