propagate the results from ShareExport::intoContainer

this is a fix for an obvious regression. there was some refactoring
going on around here since the 2.4.3 release, and the return value of
ShareExport::intoContainer has since been neglected. with this change
the info banner showing errors/warnings/info/success after exporting a
database tree with KeeShare is shown again.
This commit is contained in:
schlimmchen 2019-10-22 16:12:46 +02:00 committed by Jonathan White
parent 34bbf8b3a1
commit 957ba90073

View File

@ -288,7 +288,7 @@ QList<ShareObserver::Result> ShareObserver::exportShares()
const auto& reference = it.value().first(); const auto& reference = it.value().first();
const QString resolvedPath = resolvePath(reference.config.path, m_db); const QString resolvedPath = resolvePath(reference.config.path, m_db);
m_fileWatcher->ignoreFileChanges(resolvedPath); m_fileWatcher->ignoreFileChanges(resolvedPath);
ShareExport::intoContainer(resolvedPath, reference.config, reference.group); results << ShareExport::intoContainer(resolvedPath, reference.config, reference.group);
m_fileWatcher->observeFileChanges(true); m_fileWatcher->observeFileChanges(true);
} }
return results; return results;