Moved the logicasl part of the progresbar/password dialog from WindowManager to Engin...
[qtmeetings] / src / UserInterface / Utils / PasswordDialog.cpp
index 3a8590f..778d32a 100644 (file)
@@ -13,12 +13,6 @@ PasswordDialog::PasswordDialog( const QString &aPassword, const QString &aText,
        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:
@@ -61,13 +55,10 @@ PasswordDialog::PasswordDialog( const QString &aPassword, const QString &aText,
 
        // Enable the layout
        setLayout( layout );
-       
-       show();
 }
 
 PasswordDialog::~PasswordDialog()
 {
-       close();
 }
 
 void PasswordDialog::okButtonPressed()