mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-10-15 23:10:59 -04:00
Coding style fixes.
This commit is contained in:
parent
ef3d7b7772
commit
5daf0853c9
7 changed files with 15 additions and 14 deletions
|
@ -402,7 +402,8 @@ void MainWindow::closeEvent(QCloseEvent* event)
|
|||
bool openPreviousDatabasesOnStartup = config()->get("OpenPreviousDatabasesOnStartup").toBool();
|
||||
|
||||
if (openPreviousDatabasesOnStartup) {
|
||||
connect(m_ui->tabWidget, SIGNAL(databaseWithFileClosed(QString)), this, SLOT(rememberOpenDatabases(QString)));
|
||||
connect(m_ui->tabWidget, SIGNAL(databaseWithFileClosed(QString)),
|
||||
this, SLOT(rememberOpenDatabases(QString)));
|
||||
}
|
||||
|
||||
if (!m_ui->tabWidget->closeAllDatabases()) {
|
||||
|
@ -413,7 +414,8 @@ void MainWindow::closeEvent(QCloseEvent* event)
|
|||
}
|
||||
|
||||
if (openPreviousDatabasesOnStartup) {
|
||||
disconnect(m_ui->tabWidget, SIGNAL(databaseWithFileClosed(QString)), this, SLOT(rememberOpenDatabases(QString)));
|
||||
disconnect(m_ui->tabWidget, SIGNAL(databaseWithFileClosed(QString)),
|
||||
this, SLOT(rememberOpenDatabases(QString)));
|
||||
config()->set("LastOpenedDatabases", m_openDatabases);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue