Apply code formatting and fix style issues

Co-authored-by: droidmonkey <2809491+droidmonkey@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-06-19 14:37:35 +00:00
parent df4de58541
commit cd22010288
2 changed files with 15 additions and 13 deletions

View File

@@ -216,7 +216,8 @@ namespace
* For example, "Socials/Forums" creates a "Socials" group with a "Forums" child group. * For example, "Socials/Forums" creates a "Socials" group with a "Forums" child group.
* Returns the deepest (leaf) group in the hierarchy. * Returns the deepest (leaf) group in the hierarchy.
*/ */
Group* createNestedFolderHierarchy(const QString& folderPath, Group* rootGroup, QMap<QString, Group*>& createdGroups) Group*
createNestedFolderHierarchy(const QString& folderPath, Group* rootGroup, QMap<QString, Group*>& createdGroups)
{ {
if (folderPath.isEmpty()) { if (folderPath.isEmpty()) {
return rootGroup; return rootGroup;

View File

@@ -319,7 +319,8 @@ void TestImports::testBitwardenPasskey()
void TestImports::testBitwardenNestedFolders() void TestImports::testBitwardenNestedFolders()
{ {
auto bitwardenPath = QStringLiteral("%1/%2").arg(KEEPASSX_TEST_DATA_DIR, QStringLiteral("/bitwarden_nested_export.json")); auto bitwardenPath =
QStringLiteral("%1/%2").arg(KEEPASSX_TEST_DATA_DIR, QStringLiteral("/bitwarden_nested_export.json"));
BitwardenReader reader; BitwardenReader reader;
auto db = reader.convert(bitwardenPath); auto db = reader.convert(bitwardenPath);