summaryrefslogtreecommitdiff
authorharlekin <harlekin>2003-04-09 18:39:37 (UTC)
committer harlekin <harlekin>2003-04-09 18:39:37 (UTC)
commit6e2ee769c8e6cba600e235822d5003cfe31e55c5 (patch) (unidiff)
treebd1a63c87a051c9762846f4e75c274814d385e9a
parentbacff63f1e4915c683a409e81b18ffcf5aeceda3 (diff)
downloadopie-6e2ee769c8e6cba600e235822d5003cfe31e55c5.zip
opie-6e2ee769c8e6cba600e235822d5003cfe31e55c5.tar.gz
opie-6e2ee769c8e6cba600e235822d5003cfe31e55c5.tar.bz2
show allways maximized after startup
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/settings/security/security.cpp5
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
@@ -62,4 +62,5 @@ Security::Security( QWidget* parent, const char* name, WFlags fl )
62 62
63 dl = new QPEDialogListener(this); 63 dl = new QPEDialogListener(this);
64 showMaximized();
64} 65}
65 66
@@ -73,5 +74,5 @@ void Security::updateGUI()
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 );
@@ -93,5 +94,5 @@ void Security::show()
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();