Commit 50652ab8 authored by Bernhard Beschow's avatar Bernhard Beschow
Browse files

fix updating of MoNav maps

BUG: 298508
FIXED-IN: KDE-4.8.4
(cherry picked from commit a3052035)
parent c2b477db
......@@ -645,7 +645,7 @@ void MonavConfigWidget::upgradeMap( int index )
QString payload = d->m_mapsModel->payload( index );
if ( !payload.isEmpty() ) {
foreach( const MonavStuffEntry &entry, d->m_remoteMaps ) {
if ( entry.payload().endsWith( payload ) ) {
if ( entry.payload().endsWith( '/' + payload ) ) {
d->m_currentDownload = entry.payload();
d->install();
return;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment