changeset 3668:5775e2d81a90 draft

remove init messages from ThreadImport() - remove uiInterface.InitMessage() calls from ThreadImport(), as Qt doesn't like them getting called out of it's main thread and because the thread will continue to run after the GUI was loaded
author Philip Kaufmann <phil.kaufmann@t-online.de>
date Sun, 21 Oct 2012 21:16:52 +0200
parents 4d31215fcb05
children c1f6a411885b
files src/main.cpp
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2549,7 +2549,6 @@
     vnThreadsRunning[THREAD_IMPORT]++;
 
     // -loadblock=
-    uiInterface.InitMessage(_("Starting block import..."));
     BOOST_FOREACH(boost::filesystem::path &path, *vFiles) {
         FILE *file = fopen(path.string().c_str(), "rb");
         if (file)
@@ -2559,8 +2558,6 @@
     // hardcoded $DATADIR/bootstrap.dat
     filesystem::path pathBootstrap = GetDataDir() / "bootstrap.dat";
     if (filesystem::exists(pathBootstrap)) {
-        uiInterface.InitMessage(_("Importing bootstrap blockchain data file."));
-
         FILE *file = fopen(pathBootstrap.string().c_str(), "rb");
         if (file) {
             filesystem::path pathBootstrapOld = GetDataDir() / "bootstrap.dat.old";