Commit d055452f authored by Dawit Alemayehu's avatar Dawit Alemayehu
Browse files

Prevent a Q_ASSERT crash when invoking ftpCreateUDSEntry.

BUG: 310039
FIXED-IN: 4.9.4
parent 37258607
......@@ -1579,6 +1579,7 @@ void Ftp::listDir( const KUrl &url )
// kDebug(7102) << "is a link to " << ftpEnt.link;
ftpCreateUDSEntry( ftpEnt.name, ftpEnt, entry, false );
listEntry( entry, false );
entry.clear();
}
}
......@@ -1587,6 +1588,7 @@ void Ftp::listDir( const KUrl &url )
fixupEntryName(&ftpEnt);
ftpCreateUDSEntry( ftpEnt.name, ftpEnt, entry, false );
listEntry( entry, false );
entry.clear();
}
listEntry( entry, true ); // ready
......
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