author | llornkcor <llornkcor> | 2002-09-15 14:28:25 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-09-15 14:28:25 (UTC) |
commit | a013fbe2ba39e5ebd249766f223dbb67fe18027c (patch) (side-by-side diff) | |
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 @@ -822,48 +822,49 @@ bool TextEdit::saveAs() { qDebug("saving filename "+fileNm); QFileInfo fi(fileNm); currentFileName=fi.fileName(); if(doc) { // QString file = doc->file(); // doc->removeFiles(); delete doc; DocLnk nf; nf.setType("text/plain"); nf.setFile( fileNm); doc = new DocLnk(nf); // editor->setText(rt); // qDebug("openFile doclnk "+currentFileName); doc->setName( currentFileName); updateCaption( currentFileName); FileManager fm; if ( !fm.saveFile( *doc, rt ) ) { return false; } if( useAdvancedFeatures ) { filePermissions *filePerm; filePerm = new filePermissions(this, tr("Permissions"),true,0,(const QString &)fileNm); + filePerm->showMaximized(); filePerm->exec(); if( filePerm) delete filePerm; } } editor->setEdited( false); edited1 = false; edited = false; if(caption().left(1)=="*") setCaption(caption().right(caption().length()-1)); return true; } qDebug("returning false"); return false; } //end saveAs void TextEdit::clear() { delete doc; doc = 0; editor->clear(); } |