Diffstat (limited to 'core/pim/osearch/doclnkitem.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/osearch/doclnkitem.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/core/pim/osearch/doclnkitem.cpp b/core/pim/osearch/doclnkitem.cpp index 04d08ca..95402b9 100644 --- a/core/pim/osearch/doclnkitem.cpp +++ b/core/pim/osearch/doclnkitem.cpp | |||
@@ -36,4 +36,5 @@ QString DocLnkItem::toRichText() | |||
36 | text += _doc->comment() + "<br>"; | 36 | text += _doc->comment() + "<br>"; |
37 | text += "File: " + _doc->file() + "<br>"; | 37 | text += "File: " + _doc->file() + "<br>"; |
38 | text += "Link: " + _doc->linkFile() + "<br>"; | ||
38 | text += "Mimetype: " + _doc->type() + "<br>"; | 39 | text += "Mimetype: " + _doc->type() + "<br>"; |
39 | if ( _doc->type().contains( "text" ) ){ | 40 | if ( _doc->type().contains( "text" ) ){ |
@@ -64,10 +65,6 @@ void DocLnkItem::action( int act ) | |||
64 | if (act == 0) _doc->execute(); | 65 | if (act == 0) _doc->execute(); |
65 | else if (act == 1){ | 66 | else if (act == 1){ |
66 | QFileInfo file( _doc->file() ); | ||
67 | qDebug("opening %s in filemanager", file.dirPath().latin1()); | ||
68 | QCopEnvelope e("QPE/Application/advancedfm", "setDocument(QString)"); | 67 | QCopEnvelope e("QPE/Application/advancedfm", "setDocument(QString)"); |
69 | e << file.dirPath(); | 68 | e << _doc->file(); |
70 | // QCopEnvelope e("QPE/Application/advancedfm", "setDocument(QString)"); | ||
71 | // e << _doc->file(); | ||
72 | } | 69 | } |
73 | } | 70 | } |