|
|
|
@ -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
|
|
|
|
|
// contain the same name for different services (such as Konsole)
|
|
|
|
|
// 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)
|
|
|
|
|
{
|
|
|
|
|
d->curService = KService::serviceByName( qName );
|
|
|
|
|