Diffstat (limited to 'core/apps/textedit/textedit.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/apps/textedit/textedit.cpp | 4 |
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 @@ -535,3 +535,3 @@ void TextEdit::newFileOpen() currentFileName = fileName; -// qDebug("please open "+currentFileName); + qDebug("please open "+currentFileName); openFile(fileName ); @@ -635,2 +635,4 @@ void TextEdit::openFile( const QString &f ) currentFileName=f; + QFileInfo fi( currentFileName); + nf.setName(fi.baseName()); qDebug("openFile string"+currentFileName); |