summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-12-16 04:19:48 (UTC)
committer llornkcor <llornkcor>2002-12-16 04:19:48 (UTC)
commit71f0618e5fdfe7c7f5c251fef3885ee3833d1046 (patch) (unidiff)
treeccda3bdd02fd1313a64a26b635b8787ae9b381d2
parentcc6c77e7014a3056debd6963946265671d41517d (diff)
downloadopie-71f0618e5fdfe7c7f5c251fef3885ee3833d1046.zip
opie-71f0618e5fdfe7c7f5c251fef3885ee3833d1046.tar.gz
opie-71f0618e5fdfe7c7f5c251fef3885ee3833d1046.tar.bz2
open dotfiles from setDocument differently
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/textedit/textedit.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/apps/textedit/textedit.cpp b/core/apps/textedit/textedit.cpp
index 8b3c4c6..af427ac 100644
--- a/core/apps/textedit/textedit.cpp
+++ b/core/apps/textedit/textedit.cpp
@@ -973,8 +973,9 @@ void TextEdit::setDocument(const QString& fileref) {
973 qDebug("setDocument"); 973 qDebug("setDocument");
974 QFileInfo fi(currentFileName); 974 QFileInfo fi(currentFileName);
975 qDebug("basename:"+fi.baseName()+": current filenmame "+currentFileName); 975 qDebug("basename:"+fi.baseName()+": current filenmame "+currentFileName);
976 if(fi.baseName().left(1) == "") { 976 if( (fi.baseName().left(1)).isEmpty() ) {
977 // openDotFile(currentFileName); 977 openDotFile(currentFileName);
978
978 } else { 979 } else {
979 qDebug("setDoc open"); 980 qDebug("setDoc open");
980 bFromDocView = true; 981 bFromDocView = true;