summaryrefslogtreecommitdiff
path: root/library/lock_holder.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:14:37 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:14:37 +0200
commit8bf668665b107469086f16cb8ad23e47d479d2b4 (patch)
tree66a91ef06a8caa7cd6819dcbe1860693d3eda8d5 /library/lock_holder.h
parent3.21 (diff)
downloadFreeFileSync-8bf668665b107469086f16cb8ad23e47d479d2b4.tar.gz
FreeFileSync-8bf668665b107469086f16cb8ad23e47d479d2b4.tar.bz2
FreeFileSync-8bf668665b107469086f16cb8ad23e47d479d2b4.zip
4.0
Diffstat (limited to 'library/lock_holder.h')
-rw-r--r--library/lock_holder.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/library/lock_holder.h b/library/lock_holder.h
index 65471d5f..b72b12c1 100644
--- a/library/lock_holder.h
+++ b/library/lock_holder.h
@@ -20,10 +20,6 @@ public:
if (dirnameFmt.empty())
return;
- std::wstring statusText = _("Searching for directory %x...");
- replace(statusText, L"%x", std::wstring(L"\"") + dirnameFmt + L"\"", false);
- procCallback.reportInfo(statusText);
-
if (!dirExistsUpdating(dirnameFmt, procCallback))
return;
@@ -35,7 +31,7 @@ public:
public:
WaitOnLockHandler(ProcessCallback& pc) : pc_(pc) {}
virtual void requestUiRefresh() { pc_.requestUiRefresh(); } //allowed to throw exceptions
- virtual void reportInfo(const std::wstring& text) { pc_.reportInfo(text); }
+ virtual void reportInfo(const std::wstring& text) { pc_.reportStatus(text); }
private:
ProcessCallback& pc_;
} callback(procCallback);
bgstack15