mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-01-13 16:30:29 -05:00
Corrected use of canonicalfile info in autoopen code
This commit is contained in:
parent
a80d1bbd2b
commit
36e5377e6a
@ -543,8 +543,7 @@ void DatabaseTabWidget::updateTabNameFromDbWidgetSender()
|
||||
Group *autoload = db->rootGroup()->findChildByName("AutoOpen");
|
||||
if (autoload) {
|
||||
const DatabaseManagerStruct& dbStruct = m_dbList.value(db);
|
||||
QFileInfo dbpath(dbStruct.canonicalFilePath);
|
||||
QDir dbFolder(dbpath.canonicalPath());
|
||||
QDir dbFolder(dbStruct.fileInfo.canonicalPath());
|
||||
for (auto entry : autoload->entries()) {
|
||||
if (entry->url().isEmpty() || entry->password().isEmpty()) {
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user