author | harlekin <harlekin> | 2003-04-09 18:39:37 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2003-04-09 18:39:37 (UTC) |
commit | 6e2ee769c8e6cba600e235822d5003cfe31e55c5 (patch) (unidiff) | |
tree | bd1a63c87a051c9762846f4e75c274814d385e9a | |
parent | bacff63f1e4915c683a409e81b18ffcf5aeceda3 (diff) | |
download | opie-6e2ee769c8e6cba600e235822d5003cfe31e55c5.zip opie-6e2ee769c8e6cba600e235822d5003cfe31e55c5.tar.gz opie-6e2ee769c8e6cba600e235822d5003cfe31e55c5.tar.bz2 |
show allways maximized after startup
-rw-r--r-- | core/settings/security/security.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/settings/security/security.cpp b/core/settings/security/security.cpp index 2821f4b..4701506 100644 --- a/core/settings/security/security.cpp +++ b/core/settings/security/security.cpp | |||
@@ -61,6 +61,7 @@ Security::Security( QWidget* parent, const char* name, WFlags fl ) | |||
61 | updateGUI(); | 61 | updateGUI(); |
62 | 62 | ||
63 | dl = new QPEDialogListener(this); | 63 | dl = new QPEDialogListener(this); |
64 | showMaximized(); | ||
64 | } | 65 | } |
65 | 66 | ||
66 | Security::~Security() | 67 | Security::~Security() |
@@ -72,7 +73,7 @@ void Security::updateGUI() | |||
72 | { | 73 | { |
73 | bool empty = passcode.isEmpty(); | 74 | bool empty = passcode.isEmpty(); |
74 | 75 | ||
75 | changepasscode->setText( empty ? tr("Set passcode" ) | 76 | changepasscode->setText( empty ? tr("Set passcode" ) |
76 | : tr("Change passcode" ) ); | 77 | : tr("Change passcode" ) ); |
77 | passcode_poweron->setEnabled( !empty ); | 78 | passcode_poweron->setEnabled( !empty ); |
78 | clearpasscode->setEnabled( !empty ); | 79 | clearpasscode->setEnabled( !empty ); |
@@ -92,7 +93,7 @@ void Security::show() | |||
92 | } else { | 93 | } else { |
93 | QString pc = enterPassCode(tr("Enter passcode")); | 94 | QString pc = enterPassCode(tr("Enter passcode")); |
94 | if ( pc != passcode ) { | 95 | if ( pc != passcode ) { |
95 | QMessageBox::critical(this, tr("Passcode incorrect"), | 96 | QMessageBox::critical(this, tr("Passcode incorrect"), |
96 | tr("The passcode entered is incorrect.\nAccess denied")); | 97 | tr("The passcode entered is incorrect.\nAccess denied")); |
97 | reject(); | 98 | reject(); |
98 | return; | 99 | return; |