summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-reader/CloseDialog.cpp
Side-by-side diff
Diffstat (limited to 'noncore/apps/opie-reader/CloseDialog.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/opie-reader/CloseDialog.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/noncore/apps/opie-reader/CloseDialog.cpp b/noncore/apps/opie-reader/CloseDialog.cpp
index d7c2652..741fa67 100644
--- a/noncore/apps/opie-reader/CloseDialog.cpp
+++ b/noncore/apps/opie-reader/CloseDialog.cpp
@@ -1,11 +1,9 @@
#include "CloseDialog.h"
#include "qlayout.h"
-#include <qpe/qpeapplication.h>
-
CCloseDialog::CCloseDialog(const QString& fname, bool fs, QWidget* parent, const char* name) : QDialog(parent, name, true)
{
setCaption(tr("Tidy-up"));
QVBoxLayout *tmp = new QVBoxLayout(this);
QVButtonGroup* vb = new QVButtonGroup(tr("Delete"), this);
tmp->addWidget(vb);
@@ -13,9 +11,8 @@ CCloseDialog::CCloseDialog(const QString& fname, bool fs, QWidget* parent, const
file = new QCheckBox(filestring, vb);
marks = new QCheckBox(tr("Delete Bookmarks"), vb);
config = new QCheckBox(tr("Delete Configuration"), vb);
file->setChecked(false);
marks->setChecked(true);
config->setChecked(true);
- if (fs)
- QPEApplication::showDialog( this );
+ if (fs) showMaximized();
}