summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/filebrowser/filebrowser.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/noncore/unsupported/filebrowser/filebrowser.cpp b/noncore/unsupported/filebrowser/filebrowser.cpp
index eaf5eeb..10dff07 100644
--- a/noncore/unsupported/filebrowser/filebrowser.cpp
+++ b/noncore/unsupported/filebrowser/filebrowser.cpp
@@ -27,6 +27,8 @@
27#include <qpe/applnk.h> 27#include <qpe/applnk.h>
28 28
29#include <qcopchannel_qws.h> 29#include <qcopchannel_qws.h>
30#include <qcopenvelope_qws.h>
31
30#include <qmessagebox.h> 32#include <qmessagebox.h>
31#include <qdir.h> 33#include <qdir.h>
32#include <qregexp.h> 34#include <qregexp.h>
@@ -546,7 +548,9 @@ void FileView::newFolder()
546void FileView::viewAsText() 548void FileView::viewAsText()
547{ 549{
548 FileItem * i = (FileItem *) currentItem(); 550 FileItem * i = (FileItem *) currentItem();
549 Global::execute( "textedit -f ", i->getFilePath() ); 551 QCopEnvelope e("QPE/Application/textedit","setDocument(QString)");
552 e << i->getFilePath();
553// Global::execute( "textedit -f ", i->getFilePath() );
550} 554}
551 555
552void FileView::itemClicked( QListViewItem * i) 556void FileView::itemClicked( QListViewItem * i)