Skip to content

Commit

Permalink
fix files import
Browse files Browse the repository at this point in the history
  • Loading branch information
ctlcltd committed Jul 25, 2024
1 parent ca7c952 commit 7893daa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 2 additions & 1 deletion src/gui/e2db_gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,7 @@ bool e2db::write(string path) noexcept
}
}

//TODO TEST import, merge, input size, fixBouquets
void e2db::importFile(vector<string> paths) noexcept
{
debug("importFile");
Expand All @@ -505,7 +506,7 @@ void e2db::importFile(vector<string> paths) noexcept
}

clearStorage(merge);
// fixBouquets();
fixBouquets();
}

void e2db::exportFile(int bit, vector<string> paths, string filename) noexcept
Expand Down
4 changes: 0 additions & 4 deletions src/gui/tab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -827,11 +827,7 @@ void tab::importFile()
if (bit == 0x0001)
{
for (string & path : paths)
{
path = std::filesystem::path(path).parent_path().u8string();
}

qDebug() << paths;
}

if (statusBarIsVisible())
Expand Down

0 comments on commit 7893daa

Please sign in to comment.