author | harlekin <harlekin> | 2003-04-09 18:39:37 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2003-04-09 18:39:37 (UTC) |
commit | 6e2ee769c8e6cba600e235822d5003cfe31e55c5 (patch) (side-by-side diff) | |
tree | bd1a63c87a051c9762846f4e75c274814d385e9a /core | |
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 @@ -60,8 +60,9 @@ Security::Security( QWidget* parent, const char* name, WFlags fl ) connect(clearpasscode,SIGNAL(clicked()), this, SLOT(clearPassCode())); updateGUI(); dl = new QPEDialogListener(this); + showMaximized(); } Security::~Security() { @@ -71,9 +72,9 @@ Security::~Security() void Security::updateGUI() { bool empty = passcode.isEmpty(); - changepasscode->setText( empty ? tr("Set passcode" ) + changepasscode->setText( empty ? tr("Set passcode" ) : tr("Change passcode" ) ); passcode_poweron->setEnabled( !empty ); clearpasscode->setEnabled( !empty ); } @@ -91,9 +92,9 @@ void Security::show() //reject(); } else { QString pc = enterPassCode(tr("Enter passcode")); if ( pc != passcode ) { - QMessageBox::critical(this, tr("Passcode incorrect"), + QMessageBox::critical(this, tr("Passcode incorrect"), tr("The passcode entered is incorrect.\nAccess denied")); reject(); return; } |