summaryrefslogtreecommitdiffstats
path: root/tdeio/tdefile/kopenwith.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-04-30 17:00:31 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-04-30 17:00:31 +0900
commitbcdfbb95e94db26bf984443ce583d919a330058c (patch)
treeffdb824e6ba90ba7537bff7d2345614284bf7b4a /tdeio/tdefile/kopenwith.h
parent8d36253e9dff75025d43d1e98938d308444a0344 (diff)
downloadtdelibs-bcdfbb95e94db26bf984443ce583d919a330058c.tar.gz
tdelibs-bcdfbb95e94db26bf984443ce583d919a330058c.zip
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 <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdeio/tdefile/kopenwith.h')
-rw-r--r--tdeio/tdefile/kopenwith.h4
1 files changed, 2 insertions, 2 deletions
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();