summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/tools/opie-sh/fviewer.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/noncore/tools/opie-sh/fviewer.cpp b/noncore/tools/opie-sh/fviewer.cpp
index 1a0acc6..5dc09ff 100644
--- a/noncore/tools/opie-sh/fviewer.cpp
+++ b/noncore/tools/opie-sh/fviewer.cpp
@@ -49,6 +49,7 @@ FViewer::FViewer(QString filename, QString title, QWidget *parent=0, const char*
49 49
50 string = stream->read(); 50 string = stream->read();
51 textView->setText(string); 51 textView->mimeSourceFactory()->setFilePath(QDir::currentDirPath()+"/");
52 textView->mimeSourceFactory()->setFilePath(QDir::currentDirPath()); 52 textView->setText(string, QDir::currentDirPath()+"/");
53 printf("%s\n", QDir::currentDirPath().latin1());
53 file->close(); 54 file->close();
54 55