diff options
| author | Philip Kaufmann <[email protected]> | 2012-10-21 21:16:52 +0200 |
|---|---|---|
| committer | Philip Kaufmann <[email protected]> | 2012-10-21 21:16:52 +0200 |
| commit | 039bcbf12d39d2d997f6092e4e378ebbbe5afc50 (patch) | |
| tree | b908aab3670916c627123d662048ba420792072e | |
| parent | Tab instead of 4 spaces in makefile.mingw (diff) | |
| download | discoin-039bcbf12d39d2d997f6092e4e378ebbbe5afc50.tar.xz discoin-039bcbf12d39d2d997f6092e4e378ebbbe5afc50.zip | |
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
| -rw-r--r-- | src/main.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp index 064ac7e10..c9e1e163d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2549,7 +2549,6 @@ void ThreadImport(void *data) { 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 @@ void ThreadImport(void *data) { // 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"; |