summaryrefslogtreecommitdiff
path: root/library/dir_exist_async.h
diff options
context:
space:
mode:
Diffstat (limited to 'library/dir_exist_async.h')
-rw-r--r--library/dir_exist_async.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/library/dir_exist_async.h b/library/dir_exist_async.h
index 60fa4582..cab82aa2 100644
--- a/library/dir_exist_async.h
+++ b/library/dir_exist_async.h
@@ -21,7 +21,9 @@ bool dirExistsUpdating(const Zstring& dirname, ProcessCallback& procCallback)
{
using namespace util;
- //do NOT include info messages here! this method is used by synchronization also, so avoid flooding!
+ std::wstring statusText = _("Searching for directory %x...");
+ replace(statusText, L"%x", std::wstring(L"\"") + dirname + L"\"", false);
+ procCallback.reportStatus(statusText);
auto ft = dirExistsAsync(dirname);
while (!ft.timed_wait(boost::posix_time::milliseconds(UI_UPDATE_INTERVAL)))
bgstack15