-rw-r--r-- | libopie2/opieui/fileselector/ofiledialog.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/libopie2/opieui/fileselector/ofiledialog.cpp b/libopie2/opieui/fileselector/ofiledialog.cpp index 4c6b800..e01fbe5 100644 --- a/libopie2/opieui/fileselector/ofiledialog.cpp +++ b/libopie2/opieui/fileselector/ofiledialog.cpp @@ -174,4 +174,3 @@ QString OFileDialog::getOpenFileName(int selector, wid, OFileSelector::Open, selector, startDir, file, mimes); - dlg.showMaximized(); - if( dlg.exec() ) + if( QPEApplication::execDialog(&dlg ) ) { @@ -202,4 +201,3 @@ QString OFileDialog::getSaveFileName(int selector, wid, OFileSelector::Save, selector, startDir, file, mimes); - dlg.showMaximized(); - if( dlg.exec() ) + if( QPEApplication::execDialog(&dlg) ) { @@ -233,4 +231,4 @@ QString OFileDialog::getDirectory(int selector, wid, OFileSelector::DirectorySelector, selector, startDir ); - dlg.showMaximized(); - if ( dlg.exec() ) + + if ( QPEApplication::execDialog(&dlg) ) { |