Skip to content

Commit

Permalink
revisiting windows support
Browse files Browse the repository at this point in the history
  • Loading branch information
mhogomchungu committed May 13, 2024
1 parent e40ed1d commit 41cc60f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/engines.h
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,7 @@ class engines
template< typename E >
void add( E&& e )
{
m_options.append( e ) ;
m_options.append( std::forward< E >( e ) ) ;
}
template< typename E,typename ... T >
void add( E&& e,T&& ... m )
Expand Down
8 changes: 4 additions & 4 deletions src/keydialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ void keyDialog::setUpInitUI()

m_checkBoxOriginalText = m_ui->checkBoxOpenReadOnly->text() ;

m_ui->tbVisibleKey->setIcon(QIcon(":/icons/password_show.png"));
m_ui->tbVisibleKey->setIcon( QIcon( ":/icons/password_show.png" ) ) ;

connect( m_ui->pbCancel,SIGNAL( clicked() ),
this,SLOT( pbCancel() ) ) ;
Expand All @@ -237,8 +237,8 @@ void keyDialog::setUpInitUI()
this,SLOT( cbMountReadOnlyStateChanged( int ) ) ) ;
connect( m_ui->pbOK,SIGNAL( clicked( bool ) ),
this,SLOT( pbOK() ) ) ;
connect( m_ui->tbVisibleKey,SIGNAL( clicked() ),
this,SLOT( cbVisibleKeyclicked() ) ) ;
connect( m_ui->tbVisibleKey,SIGNAL( clicked() ),
this,SLOT( cbVisibleKeyclicked() ) ) ;
connect( m_ui->pbOptions,SIGNAL( clicked() ),
this,SLOT( pbOptions() ) ) ;
connect( m_ui->pbSetKeyKeyFile,SIGNAL( clicked() ),
Expand Down Expand Up @@ -279,7 +279,7 @@ void keyDialog::setUpInitUI()

//m_ui->lineEditFolderPath->setText( "Z:" ) ;
//utility::setWindowsMountPointOptions( this,m_ui->lineEditFolderPath,m_ui->pbOpenFolderPath ) ;
m_ui->lineEditFolderPath->setText( m_settings.homePath() + "/Desktop/" ) ;
m_ui->lineEditFolderPath->setText( m_settings.homePath() ) ;
//m_ui->pbOpenFolderPath->setIcon( QIcon( ":/folder.png" ) ) ;
}else{
m_ui->lineEditFolderPath->setText( m_settings.homePath() + "/" ) ;
Expand Down
2 changes: 1 addition & 1 deletion src/settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ static void _set_mount_default( settings& s )

if( utility::platformIsWindows() ){

m.setValue( "MountPrefix",s.homePath() + "/Desktop" ) ;
m.setValue( "MountPrefix",s.homePath() ) ;
}else{
m.setValue( "MountPrefix",s.homePath() + "/.SiriKali" ) ;
}
Expand Down

0 comments on commit 41cc60f

Please sign in to comment.