From 6582895befc98131430710191238a93b9dde161c Mon Sep 17 00:00:00 2001 From: ar Date: Sat, 07 Feb 2004 23:52:31 +0000 Subject: QPEApplication::showDialog() and QPEAPplication::execDialog() for better big screen handling --- (limited to 'core/apps/textedit') diff --git a/core/apps/textedit/textedit.cpp b/core/apps/textedit/textedit.cpp index be18140..1299fe3 100644 --- a/core/apps/textedit/textedit.cpp +++ b/core/apps/textedit/textedit.cpp @@ -942,8 +942,7 @@ bool TextEdit::saveAs() { filePerm = new filePermissions(this, tr("Permissions"),true, 0,(const QString &)fileNm); - filePerm->showMaximized(); - filePerm->exec(); + QPEApplication::execDialog( filePerm ); if( filePerm) delete filePerm; @@ -1016,8 +1015,7 @@ void TextEdit::changeFont() { lay-> addWidget ( ofs ); ofs-> setSelectedFont ( editor-> font ( )); - d-> showMaximized ( ); - if ( d-> exec ( ) == QDialog::Accepted ) + if ( QPEApplication::execDialog( d ) == QDialog::Accepted ) editor-> setFont ( ofs-> selectedFont ( )); delete d; -- cgit v0.9.0.2