From f39b6cfe0cccca9dac39b4b15cfe076426d5a4c5 Mon Sep 17 00:00:00 2001 From: llornkcor Date: Sun, 24 Feb 2002 17:05:29 +0000 Subject: changed how view as text was being executed --- (limited to 'noncore/unsupported') 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 @@ #include #include +#include + #include #include #include @@ -546,7 +548,9 @@ void FileView::newFolder() void FileView::viewAsText() { FileItem * i = (FileItem *) currentItem(); - Global::execute( "textedit -f ", i->getFilePath() ); + QCopEnvelope e("QPE/Application/textedit","setDocument(QString)"); + e << i->getFilePath(); +// Global::execute( "textedit -f ", i->getFilePath() ); } void FileView::itemClicked( QListViewItem * i) -- cgit v0.9.0.2