setWindowTitle( aTitle.isNull() ? tr( "Enter password" ) : aTitle );
setModal( true );
- // Store the password hash to iPasswordHash
- // ( aPassword should be allready encoded )
-// QCryptographicHash *hash = new QCryptographicHash( QCryptographicHash::Md5 );
-// hash->addData( aPassword.toUtf8() );
-// iPasswordHash = hash->result();
-// delete hash;
iPasswordHash = aPassword.toUtf8();
/* Create the layout:
// Enable the layout
setLayout( layout );
-
- show();
}
PasswordDialog::~PasswordDialog()
{
- close();
}
void PasswordDialog::okButtonPressed()