diff options
author | Luke Dashjr <luke-jr+git@utopios.org> | 2012-04-06 17:44:26 -0400 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2012-04-06 17:44:48 -0400 |
commit | 527b512cf754bc7846852f3a4a61d8b364c5abc3 (patch) | |
tree | 7df7978b2c7836c1cffcf979cf485c39f628824b /src/qt | |
parent | bf1f995c4c968f4325ac05474fcfd87924d62e36 (diff) |
Bugfix: Windows lacks sleep(), so need to use Sleep() from util.h
Diffstat (limited to 'src/qt')
-rw-r--r-- | src/qt/bitcoin.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp index 311fab3c9b..1133f122e7 100644 --- a/src/qt/bitcoin.cpp +++ b/src/qt/bitcoin.cpp @@ -8,6 +8,7 @@ #include "headers.h" #include "init.h" +#include "util.h" #include <QApplication> #include <QMessageBox> @@ -45,7 +46,7 @@ int ThreadSafeMessageBox(const std::string& message, const std::string& caption, if (modal) while (!guiref) - sleep(1); + Sleep(1000); // Message from network thread if(guiref) |