"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "zuluCrypt-gui/luksdeletekey.cpp" between
zuluCrypt-5.7.0.tar.xz and zuluCrypt-5.7.1.tar.xz

About: zuluCrypt is a simple but feature rich solution for hard drives encryption. It can manage PLAIN dm-crypt, LUKS, TrueCrypt and VeraCrypt encrypted volumes.

luksdeletekey.cpp  (zuluCrypt-5.7.0.tar.xz):luksdeletekey.cpp  (zuluCrypt-5.7.1.tar.xz)
skipping to change at line 90 skipping to change at line 90
this->pbCancel() ; this->pbCancel() ;
} }
} }
void luksdeletekey::Key( int e ) void luksdeletekey::Key( int e )
{ {
auto _key_ui = [ this ](){ auto _key_ui = [ this ](){
m_ui->lineEditPassphrase->setToolTip( tr( "Enter a key" ) ) ; m_ui->lineEditPassphrase->setToolTip( tr( "Enter a key" ) ) ;
m_ui->labelPassphrase->setText( tr( "Key" ) ) ; m_ui->labelPassphrase->setText( tr( "Password" ) ) ;
m_ui->lineEditPassphrase->setEchoMode( QLineEdit::Password ) ; m_ui->lineEditPassphrase->setEchoMode( QLineEdit::Password ) ;
m_ui->lineEditPassphrase->clear() ; m_ui->lineEditPassphrase->clear() ;
m_ui->pushButtonOpenKeyFile->setEnabled( false ) ; m_ui->pushButtonOpenKeyFile->setEnabled( false ) ;
m_ui->pushButtonOpenKeyFile->setIcon( QIcon( ":/passphrase.png" ) ) ; m_ui->pushButtonOpenKeyFile->setIcon( QIcon( ":/passphrase.png" ) ) ;
m_ui->lineEditPassphrase->setFocus() ; m_ui->lineEditPassphrase->setFocus() ;
m_ui->lineEditPassphrase->setEnabled( true ) ; m_ui->lineEditPassphrase->setEnabled( true ) ;
} ; } ;
if( e == 0 || e == 3 ){ if( e == 0 || e == 3 ){
skipping to change at line 148 skipping to change at line 148
m_ui->lineEditVolumePath->setFocus() ; m_ui->lineEditVolumePath->setFocus() ;
}else{ }else{
m_ui->pushButtonDelete->setFocus() ; m_ui->pushButtonDelete->setFocus() ;
} }
} }
void luksdeletekey::ShowUI() void luksdeletekey::ShowUI()
{ {
this->enableAll() ; this->enableAll() ;
m_ui->labelPassphrase->setText( tr( "Key" ) ) ; m_ui->labelPassphrase->setText( tr( "Password" ) ) ;
if( m_ui->lineEditVolumePath->text().isEmpty() ){ if( m_ui->lineEditVolumePath->text().isEmpty() ){
m_ui->lineEditVolumePath->setFocus() ; m_ui->lineEditVolumePath->setFocus() ;
}else{ }else{
m_ui->lineEditPassphrase->setFocus() ; m_ui->lineEditPassphrase->setFocus() ;
} }
m_ui->pushButtonOpenPartition->setIcon( QIcon( ":/partition.png" ) ) ; m_ui->pushButtonOpenPartition->setIcon( QIcon( ":/partition.png" ) ) ;
m_ui->pushButtonOpenVolume->setIcon( QIcon( ":/file.png" ) ) ; m_ui->pushButtonOpenVolume->setIcon( QIcon( ":/file.png" ) ) ;
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)