mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-29 01:06:27 -05:00
Coding style fix.
This commit is contained in:
parent
bf39d0b1be
commit
75d3e6261b
@ -595,7 +595,7 @@ void DatabaseWidget::unlockDatabase(bool accepted)
|
|||||||
Q_ASSERT(accepted);
|
Q_ASSERT(accepted);
|
||||||
Q_UNUSED(accepted);
|
Q_UNUSED(accepted);
|
||||||
|
|
||||||
setCurrentWidget(widgetBeforeLock);
|
setCurrentWidget(m_widgetBeforeLock);
|
||||||
Q_EMIT unlockedDatabase();
|
Q_EMIT unlockedDatabase();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -802,7 +802,7 @@ void DatabaseWidget::lock()
|
|||||||
{
|
{
|
||||||
Q_ASSERT(currentMode() != DatabaseWidget::LockedMode);
|
Q_ASSERT(currentMode() != DatabaseWidget::LockedMode);
|
||||||
|
|
||||||
widgetBeforeLock = currentWidget();
|
m_widgetBeforeLock = currentWidget();
|
||||||
m_unlockDatabaseWidget->load(m_filename, m_db);
|
m_unlockDatabaseWidget->load(m_filename, m_db);
|
||||||
setCurrentWidget(m_unlockDatabaseWidget);
|
setCurrentWidget(m_unlockDatabaseWidget);
|
||||||
}
|
}
|
||||||
|
@ -153,7 +153,7 @@ private:
|
|||||||
Group* m_newParent;
|
Group* m_newParent;
|
||||||
Group* m_lastGroup;
|
Group* m_lastGroup;
|
||||||
QTimer* m_searchTimer;
|
QTimer* m_searchTimer;
|
||||||
QWidget* widgetBeforeLock;
|
QWidget* m_widgetBeforeLock;
|
||||||
QString m_filename;
|
QString m_filename;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user