mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 13:04:28 -04:00
Change the type of path passed to DataBaseManagement::updateToCurrentVersion
This commit is contained in:
@ -831,8 +831,8 @@ void LibraryWindow::loadLibrary(const QString &name)
|
||||
importWidget->setUpgradeLook();
|
||||
showImportingWidget();
|
||||
|
||||
upgradeLibraryFuture = std::async(std::launch::async, [this, name, path] {
|
||||
bool updated = DataBaseManagement::updateToCurrentVersion(path);
|
||||
upgradeLibraryFuture = std::async(std::launch::async, [this, name, path, rootPath] {
|
||||
bool updated = DataBaseManagement::updateToCurrentVersion(rootPath);
|
||||
|
||||
if (!updated)
|
||||
emit errorUpgradingLibrary(path);
|
||||
|
Reference in New Issue
Block a user