-rw-r--r-- | noncore/graphics/drawpad/drawpad.cpp | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/noncore/graphics/drawpad/drawpad.cpp b/noncore/graphics/drawpad/drawpad.cpp index 71c9695..139c752 100644 --- a/noncore/graphics/drawpad/drawpad.cpp +++ b/noncore/graphics/drawpad/drawpad.cpp | |||
@@ -38,6 +38,7 @@ | |||
38 | #include <qpe/global.h> | 38 | #include <qpe/global.h> |
39 | #include <qmenubar.h> | ||
40 | #include <qpe/qpetoolbar.h> | 39 | #include <qpe/qpetoolbar.h> |
41 | #include <qpe/resource.h> | 40 | #include <qpe/resource.h> |
41 | #include <qpe/qpeapplication.h> | ||
42 | 42 | ||
43 | #include <qmenubar.h> | ||
43 | #include <qaction.h> | 44 | #include <qaction.h> |
@@ -603,5 +604,3 @@ void DrawPad::importPage() | |||
603 | 604 | ||
604 | importDialog.showMaximized(); | 605 | if ( QPEApplication::execDialog( &importDialog ) == QDialog::Accepted ) { |
605 | |||
606 | if (importDialog.exec() == QDialog::Accepted) { | ||
607 | const DocLnk* docLnk = importDialog.selected(); | 606 | const DocLnk* docLnk = importDialog.selected(); |
@@ -619,5 +618,3 @@ void DrawPad::exportPage() | |||
619 | 618 | ||
620 | exportDialog.showMaximized(); | 619 | if ( QPEApplication::execDialog( &exportDialog ) == QDialog::Accepted ) { |
621 | |||
622 | if (exportDialog.exec() == QDialog::Accepted) { | ||
623 | m_pDrawPadCanvas->exportPage(exportDialog.selectedFromPage(), exportDialog.selectedToPage(), | 620 | m_pDrawPadCanvas->exportPage(exportDialog.selectedFromPage(), exportDialog.selectedToPage(), |
@@ -631,3 +628,3 @@ void DrawPad::thumbnailView() | |||
631 | 628 | ||
632 | thumbnailView.showMaximized(); | 629 | QPEApplication::showWidget( &thumbnailView ); |
633 | thumbnailView.exec(); | 630 | thumbnailView.exec(); |