From bcdfbb95e94db26bf984443ce583d919a330058c Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 30 Apr 2018 17:00:31 +0900 Subject: Fixed service lookup in KOpenWithDlg. Default is now to lookup by desktop path and not by name, to avoid returning the wrong service when two or more .desktop files where using the same "Name" field. This resolves bug 2734 (together with the changes made in applications/kcmautostart) Signed-off-by: Michele Calgaro --- tdeio/tdefile/kopenwith.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tdeio/tdefile/kopenwith.h') diff --git a/tdeio/tdefile/kopenwith.h b/tdeio/tdefile/kopenwith.h index 90c43ceb1..e0482b87a 100644 --- a/tdeio/tdefile/kopenwith.h +++ b/tdeio/tdefile/kopenwith.h @@ -129,8 +129,8 @@ public slots: * The slot for clearing the edit widget */ void slotClear(); - void slotSelected( const TQString&_name, const TQString& _exec ); - void slotHighlighted( const TQString& _name, const TQString& _exec ); + void slotSelected( const TQString&_name, const TQString& _exec, const TQString& _desktopPath ); + void slotHighlighted( const TQString& _name, const TQString& _exec, const TQString& _desktopPath ); void slotTextChanged(); void slotTerminalToggled(bool); void slotDbClick(); -- cgit v1.2.1