-rw-r--r-- | library/password.cpp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/library/password.cpp b/library/password.cpp index 6d126c4..25fb1b8 100644 --- a/library/password.cpp +++ b/library/password.cpp @@ -83,3 +83,3 @@ PasswordDialog::PasswordDialog( QWidget* parent, const char* name, WFlags fl ) } - + button_0->installEventFilter( this ); @@ -218,2 +218,3 @@ class OwnerDlg : public QDialog { + Q_OBJECT public: @@ -222,4 +223,4 @@ public: bool modal, bool fullscreen = FALSE ) - : QDialog( parent, name, modal, - fullscreen ? + : QDialog( parent, name, modal, + fullscreen ? WStyle_NoBorder | WStyle_Customize | WStyle_StaysOnTop : 0 ) @@ -244,3 +245,3 @@ public: } - + bool eventFilter(QObject *o, QEvent *e) @@ -291,3 +292,3 @@ QString Password::getPassword( const QString& prompt ) preference request it at poweron - + Opie extension to speed up suspend/resume. @@ -300,3 +301,3 @@ bool Password::needToAuthenticate(bool at_poweron) QString passcode = cfg.readEntry("passcode"); - + return ( !passcode.isEmpty() @@ -326,3 +327,3 @@ void Password::authenticate(bool at_poweron) OwnerDlg *oi = 0; - QString vfilename = Global::applicationFileName("addressbook", + QString vfilename = Global::applicationFileName("addressbook", "businesscard.vcf"); |