summaryrefslogtreecommitdiff
Unidiff
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
@@ -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
66Security::~Security() 67Security::~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;