summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/textedit/textedit.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/apps/textedit/textedit.cpp b/core/apps/textedit/textedit.cpp
index 019ffee..197b28b 100644
--- a/core/apps/textedit/textedit.cpp
+++ b/core/apps/textedit/textedit.cpp
@@ -534,5 +534,5 @@ void TextEdit::newFileOpen()
534 if( fileName != "Unnamed" || fileName != "Empty Text" ) { 534 if( fileName != "Unnamed" || fileName != "Empty Text" ) {
535 currentFileName = fileName; 535 currentFileName = fileName;
536// qDebug("please open "+currentFileName); 536 qDebug("please open "+currentFileName);
537 openFile(fileName ); 537 openFile(fileName );
538 } 538 }
@@ -634,4 +634,6 @@ void TextEdit::openFile( const QString &f )
634 nf.setFile(f); 634 nf.setFile(f);
635 currentFileName=f; 635 currentFileName=f;
636 QFileInfo fi( currentFileName);
637 nf.setName(fi.baseName());
636 qDebug("openFile string"+currentFileName); 638 qDebug("openFile string"+currentFileName);
637 639