Fix previous commit typo.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit c18840c76f)
pull/16/head
Michele Calgaro 7 years ago
parent 35f61f80a0
commit 4c0290ecf1

@ -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