summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/pim/osearch/applnkitem.cpp8
-rw-r--r--core/pim/osearch/doclnkitem.cpp7
2 files changed, 5 insertions, 10 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
@@ -37,2 +37,4 @@ QString AppLnkItem::toRichText()
text += "<br>`" + _app->exec() + "`<br>";
+ text += "<br>`" + _app->file() + "`<br>";
+ text += "<br>`" + _app->linkFile() + "`<br>";
return text;
@@ -45,8 +47,4 @@ void AppLnkItem::action( int act )
else if (act == 1){
- QFileInfo file( _app->file() );
- qDebug("opening %s in filemanager", file.dirPath().latin1());
QCopEnvelope e("QPE/Application/advancedfm", "setDocument(QString)");
- e << file.dirPath();
-// QCopEnvelope e("QPE/Application/advancedfm", "setDocument(QString)");
- // e << _app->file();
+ e << _app->linkFile();
}
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
@@ -37,2 +37,3 @@ QString DocLnkItem::toRichText()
text += "File: " + _doc->file() + "<br>";
+ text += "Link: " + _doc->linkFile() + "<br>";
text += "Mimetype: " + _doc->type() + "<br>";
@@ -65,8 +66,4 @@ void DocLnkItem::action( int act )
else if (act == 1){
- QFileInfo file( _doc->file() );
- qDebug("opening %s in filemanager", file.dirPath().latin1());
QCopEnvelope e("QPE/Application/advancedfm", "setDocument(QString)");
- e << file.dirPath();
-// QCopEnvelope e("QPE/Application/advancedfm", "setDocument(QString)");
- // e << _doc->file();
+ e << _doc->file();
}