Merge branch '0.5.0.x' into 0.5.x
authorLuke Dashjr <luke-jr+git@utopios.org>
Fri, 6 Apr 2012 21:45:20 +0000 (17:45 -0400)
committerLuke Dashjr <luke-jr+git@utopios.org>
Fri, 6 Apr 2012 21:45:20 +0000 (17:45 -0400)
src/qt/bitcoin.cpp

index 4fed781..9ef7d5b 100644 (file)
@@ -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)