git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Bugfix: Windows lacks sleep(), so need to use Sleep() from util.h
[novacoin.git]
/
src
/
qt
/
bitcoin.cpp
diff --git
a/src/qt/bitcoin.cpp
b/src/qt/bitcoin.cpp
index
311fab3
..
1133f12
100644
(file)
--- 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)