From 957ba9007380c96a71d0a47cebd07a74f0f17131 Mon Sep 17 00:00:00 2001 From: schlimmchen Date: Tue, 22 Oct 2019 16:12:46 +0200 Subject: [PATCH] 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. --- src/keeshare/ShareObserver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/keeshare/ShareObserver.cpp b/src/keeshare/ShareObserver.cpp index 8aa2dcb8e..80033bf3a 100644 --- a/src/keeshare/ShareObserver.cpp +++ b/src/keeshare/ShareObserver.cpp @@ -288,7 +288,7 @@ QList ShareObserver::exportShares() const auto& reference = it.value().first(); const QString resolvedPath = resolvePath(reference.config.path, m_db); m_fileWatcher->ignoreFileChanges(resolvedPath); - ShareExport::intoContainer(resolvedPath, reference.config, reference.group); + results << ShareExport::intoContainer(resolvedPath, reference.config, reference.group); m_fileWatcher->observeFileChanges(true); } return results;