aboutsummaryrefslogtreecommitdiff
path: root/visualization
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2017-06-21 21:32:35 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2017-06-21 21:32:35 +0800
commita97307ba6e625468a1d8ad1049e6d9db0ad42d4d (patch)
treeab5f9b74b3316f63ae3a7d1bbb2f0dcb6dd445d9 /visualization
parentfd3fc10798fb4c8d63f6f3e538018774741f2b15 (diff)
downloadQMidiPlayer-a97307ba6e625468a1d8ad1049e6d9db0ad42d4d.tar.xz
Fixed FTBFS on Windows.
Fixed the default output device option. Seeking now restores CC values correctly.
Diffstat (limited to 'visualization')
-rw-r--r--visualization/qmpvisualization.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/visualization/qmpvisualization.cpp b/visualization/qmpvisualization.cpp
index 43414b6..30e4075 100644
--- a/visualization/qmpvisualization.cpp
+++ b/visualization/qmpvisualization.cpp
@@ -182,7 +182,7 @@ void qmpVisualization::showThread()
pos[0]=0;pos[1]=120;pos[2]=70;
rot[0]=0;rot[1]=75;rot[2]=90;
}
- ctk=0;
+ ctk=api->getCurrentTimeStamp();
if(savevp)
{
pos[0]=api->getOptionDouble("Visualization/px");