author | llornkcor <llornkcor> | 2002-09-15 14:28:25 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-09-15 14:28:25 (UTC) |
commit | a013fbe2ba39e5ebd249766f223dbb67fe18027c (patch) (unidiff) | |
tree | 4c6b4c513f128e029a45d12ab12c59596f6657e7 | |
parent | 74d0e81facb652eecd9c0684d7fa69a51471f4bc (diff) | |
download | opie-a013fbe2ba39e5ebd249766f223dbb67fe18027c.zip opie-a013fbe2ba39e5ebd249766f223dbb67fe18027c.tar.gz opie-a013fbe2ba39e5ebd249766f223dbb67fe18027c.tar.bz2 |
fix filepermissions size
-rw-r--r-- | core/apps/textedit/textedit.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/apps/textedit/textedit.cpp b/core/apps/textedit/textedit.cpp index bd0014a..f6a869a 100644 --- a/core/apps/textedit/textedit.cpp +++ b/core/apps/textedit/textedit.cpp | |||
@@ -834,24 +834,25 @@ bool TextEdit::saveAs() { | |||
834 | // qDebug("openFile doclnk "+currentFileName); | 834 | // qDebug("openFile doclnk "+currentFileName); |
835 | doc->setName( currentFileName); | 835 | doc->setName( currentFileName); |
836 | updateCaption( currentFileName); | 836 | updateCaption( currentFileName); |
837 | 837 | ||
838 | FileManager fm; | 838 | FileManager fm; |
839 | if ( !fm.saveFile( *doc, rt ) ) { | 839 | if ( !fm.saveFile( *doc, rt ) ) { |
840 | return false; | 840 | return false; |
841 | } | 841 | } |
842 | 842 | ||
843 | if( useAdvancedFeatures ) { | 843 | if( useAdvancedFeatures ) { |
844 | filePermissions *filePerm; | 844 | filePermissions *filePerm; |
845 | filePerm = new filePermissions(this, tr("Permissions"),true,0,(const QString &)fileNm); | 845 | filePerm = new filePermissions(this, tr("Permissions"),true,0,(const QString &)fileNm); |
846 | filePerm->showMaximized(); | ||
846 | filePerm->exec(); | 847 | filePerm->exec(); |
847 | 848 | ||
848 | if( filePerm) | 849 | if( filePerm) |
849 | delete filePerm; | 850 | delete filePerm; |
850 | } | 851 | } |
851 | } | 852 | } |
852 | editor->setEdited( false); | 853 | editor->setEdited( false); |
853 | edited1 = false; | 854 | edited1 = false; |
854 | edited = false; | 855 | edited = false; |
855 | if(caption().left(1)=="*") | 856 | if(caption().left(1)=="*") |
856 | setCaption(caption().right(caption().length()-1)); | 857 | setCaption(caption().right(caption().length()-1)); |
857 | 858 | ||