summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-reader/URLDialog.cpp
Side-by-side diff
Diffstat (limited to 'noncore/apps/opie-reader/URLDialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-reader/URLDialog.cpp31
1 files changed, 14 insertions, 17 deletions
diff --git a/noncore/apps/opie-reader/URLDialog.cpp b/noncore/apps/opie-reader/URLDialog.cpp
index e572c80..dd4568b 100644
--- a/noncore/apps/opie-reader/URLDialog.cpp
+++ b/noncore/apps/opie-reader/URLDialog.cpp
@@ -1,17 +1,14 @@
-#include "URLDialog.h"
-#include "qlayout.h"
-
-#include <qpe/qpeapplication.h>
-
-CURLDialog::CURLDialog(const QString& fname, bool fs, QWidget* parent, const char* name) : QDialog(parent, name, true)
-{
- setCaption(tr("Save URL"));
- QVBoxLayout *tmp = new QVBoxLayout(this);
- QVButtonGroup* vb = new QVButtonGroup(fname, this);
- tmp->addWidget(vb);
- m_clipboard = new QCheckBox(tr("Clipboard"), vb);
- m_localfile = new QCheckBox(tr("Local file"), vb);
- m_globalfile = new QCheckBox(tr("Global file"), vb);
- if (fs)
- QPEApplication::showDialog( this );
-}
+#include "URLDialog.h"
+#include "qlayout.h"
+
+CURLDialog::CURLDialog(const QString& fname, bool fs, QWidget* parent, const char* name) : QDialog(parent, name, true)
+{
+ setCaption(tr("Save URL"));
+ QVBoxLayout *tmp = new QVBoxLayout(this);
+ QVButtonGroup* vb = new QVButtonGroup(fname, this);
+ tmp->addWidget(vb);
+ m_clipboard = new QCheckBox(tr("Clipboard"), vb);
+ m_localfile = new QCheckBox(tr("Local file"), vb);
+ m_globalfile = new QCheckBox(tr("Global file"), vb);
+ if (fs) showMaximized();
+}