Diffstat (limited to 'core/pim/osearch/applnkitem.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/osearch/applnkitem.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/core/pim/osearch/applnkitem.cpp b/core/pim/osearch/applnkitem.cpp index 1e7b1fb..0d04be6 100644 --- a/core/pim/osearch/applnkitem.cpp +++ b/core/pim/osearch/applnkitem.cpp | |||
@@ -36,4 +36,6 @@ QString AppLnkItem::toRichText() | |||
36 | text += _app->comment() + "<br>"; | 36 | text += _app->comment() + "<br>"; |
37 | text += "<br>`" + _app->exec() + "`<br>"; | 37 | text += "<br>`" + _app->exec() + "`<br>"; |
38 | text += "<br>`" + _app->file() + "`<br>"; | ||
39 | text += "<br>`" + _app->linkFile() + "`<br>"; | ||
38 | return text; | 40 | return text; |
39 | } | 41 | } |
@@ -44,10 +46,6 @@ void AppLnkItem::action( int act ) | |||
44 | if (act == 0) _app->execute(); | 46 | if (act == 0) _app->execute(); |
45 | else if (act == 1){ | 47 | else if (act == 1){ |
46 | QFileInfo file( _app->file() ); | ||
47 | qDebug("opening %s in filemanager", file.dirPath().latin1()); | ||
48 | QCopEnvelope e("QPE/Application/advancedfm", "setDocument(QString)"); | 48 | QCopEnvelope e("QPE/Application/advancedfm", "setDocument(QString)"); |
49 | e << file.dirPath(); | 49 | e << _app->linkFile(); |
50 | // QCopEnvelope e("QPE/Application/advancedfm", "setDocument(QString)"); | ||
51 | // e << _app->file(); | ||
52 | } | 50 | } |
53 | } | 51 | } |