OSDN Git Service
(root)
/
csp-qt
/
common_source_project-fm7.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7f23d0
)
[Qt][Draw] Fix drawing timing.
author
K.Ohta
<whatisthis.sowhat@gmail.com>
Wed, 9 May 2018 11:41:24 +0000
(20:41 +0900)
committer
K.Ohta
<whatisthis.sowhat@gmail.com>
Wed, 9 May 2018 11:41:24 +0000
(20:41 +0900)
source/src/qt/gui/draw_thread.cpp
patch
|
blob
|
history
diff --git
a/source/src/qt/gui/draw_thread.cpp
b/source/src/qt/gui/draw_thread.cpp
index
c3dcd60
..
8cf8bf1
100644
(file)
--- a/
source/src/qt/gui/draw_thread.cpp
+++ b/
source/src/qt/gui/draw_thread.cpp
@@
-115,9
+115,9
@@
void DrawThreadClass::doWork(const QString ¶m)
}
if(wait_count <= 0.0f) {
wait_count = wait_count + _rate;
- } else if(wait_count <
10
.0) {
+ } else if(wait_count <
7
.0) {
msleep(10);
- wait_count = wait_count + _rate -
5
.0;
+ wait_count = wait_count + _rate -
7
.0;
} else {
wait_factor = (int)wait_count;
msleep(wait_factor);