author | llornkcor <llornkcor> | 2002-12-16 04:19:48 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-12-16 04:19:48 (UTC) |
commit | 71f0618e5fdfe7c7f5c251fef3885ee3833d1046 (patch) (unidiff) | |
tree | ccda3bdd02fd1313a64a26b635b8787ae9b381d2 | |
parent | cc6c77e7014a3056debd6963946265671d41517d (diff) | |
download | opie-71f0618e5fdfe7c7f5c251fef3885ee3833d1046.zip opie-71f0618e5fdfe7c7f5c251fef3885ee3833d1046.tar.gz opie-71f0618e5fdfe7c7f5c251fef3885ee3833d1046.tar.bz2 |
open dotfiles from setDocument differently
-rw-r--r-- | core/apps/textedit/textedit.cpp | 5 |
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 | |||
@@ -974,6 +974,7 @@ void TextEdit::setDocument(const QString& fileref) { | |||
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"); |