mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-11-21 23:40:57 -05:00
Allow toggling SSH Agent integration without restart
- use Q_GLOBAL_STATIC for singleton - move all configuration to SSHAgent class - various cleanups to agent code Fixes #1196
This commit is contained in:
parent
cb6b0dde27
commit
40ad211f3e
9 changed files with 127 additions and 75 deletions
|
|
@ -74,7 +74,7 @@ void EditWidget::setPageHidden(QWidget* widget, bool hidden)
|
|||
|
||||
for (int i = 0; i < m_ui->stackedWidget->count(); i++) {
|
||||
auto* scrollArea = qobject_cast<QScrollArea*>(m_ui->stackedWidget->widget(i));
|
||||
if (scrollArea != nullptr && scrollArea->widget() == widget) {
|
||||
if (scrollArea && scrollArea->widget() == widget) {
|
||||
index = i;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue