Fix previous commit typo.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/1/head
Michele Calgaro 6 years ago
parent bcdfbb95e9
commit c18840c76f

@ -563,7 +563,7 @@ void KOpenWithDlg::slotHighlighted( const TQString& _name, const TQString& _exec
// Look up by desktop path first, to avoid returning wrong results in case multiple .desktop files // Look up by desktop path first, to avoid returning wrong results in case multiple .desktop files
// contain the same name for different services (such as Konsole) // contain the same name for different services (such as Konsole)
// Try by name only if first search fails (this should never happen normally) // Try by name only if first search fails (this should never happen normally)
d->curService = KService::serviceByDesktopPath( _desktopPath ) d->curService = KService::serviceByDesktopPath( _desktopPath );
if (!d->curService) if (!d->curService)
{ {
d->curService = KService::serviceByName( qName ); d->curService = KService::serviceByName( qName );

Loading…
Cancel
Save