summaryrefslogtreecommitdiff
path: root/plugins/PluginUpdater/src/DlgUpdate.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2014-10-18 18:18:10 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2014-10-18 18:18:10 +0000
commitda07604c7ef06036e1f3072187b8defc386e9bad (patch)
tree49b129a8d9cab5250072e1449ef1f350d54a1e90 /plugins/PluginUpdater/src/DlgUpdate.cpp
parent3e1d53c46f9f78b040c0236cb1fdbf9bc1829f25 (diff)
PluginUpdater:
-Minor cleanup git-svn-id: http://svn.miranda-ng.org/main/trunk@10826 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater/src/DlgUpdate.cpp')
-rw-r--r--plugins/PluginUpdater/src/DlgUpdate.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/PluginUpdater/src/DlgUpdate.cpp b/plugins/PluginUpdater/src/DlgUpdate.cpp
index 18b223de8e..610afd1d7d 100644
--- a/plugins/PluginUpdater/src/DlgUpdate.cpp
+++ b/plugins/PluginUpdater/src/DlgUpdate.cpp
@@ -708,10 +708,12 @@ static void CheckUpdates(void *)
if (tszTempPath[dwLen - 1] == '\\')
tszTempPath[dwLen - 1] = 0;
- ptrT updateUrl(GetDefaultUrl()), baseUrl;
+ if (!opts.bSilent)
+ ShowPopup(TranslateT("Plugin Updater"), TranslateT("Checking for new updates..."), POPUP_TYPE_INFO);
+ ptrT updateUrl(GetDefaultUrl()), baseUrl;
SERVLIST hashes(50, CompareHashes);
- bool success = ParseHashes(updateUrl, baseUrl, hashes, 1);
+ bool success = ParseHashes(updateUrl, baseUrl, hashes);
if (success) {
FILELIST *UpdateFiles = new FILELIST(20);
VARST dirname(_T("%miranda_path%"));