aboutsummaryrefslogtreecommitdiff
path: root/src/qt
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2012-04-06 17:44:26 -0400
committerLuke Dashjr <luke-jr+git@utopios.org>2012-04-06 17:44:48 -0400
commit527b512cf754bc7846852f3a4a61d8b364c5abc3 (patch)
tree7df7978b2c7836c1cffcf979cf485c39f628824b /src/qt
parentbf1f995c4c968f4325ac05474fcfd87924d62e36 (diff)
Bugfix: Windows lacks sleep(), so need to use Sleep() from util.h
Diffstat (limited to 'src/qt')
-rw-r--r--src/qt/bitcoin.cpp3
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)