diff options
author | Chris Xiong <chirs241097@gmail.com> | 2016-05-24 21:06:14 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2016-05-24 21:06:14 +0800 |
commit | 35a1a8ed05ba7def37fa849d23de0f65cc03b0d0 (patch) | |
tree | 848b8ae706515524b281044738225d5e5022c067 /visualization/qmpvisualization.cpp | |
parent | ded6dd1c8f7cbe2991e90f69f95730b39eaa95cf (diff) | |
download | QMidiPlayer-35a1a8ed05ba7def37fa849d23de0f65cc03b0d0.tar.xz |
Correct return result of API functions when text encoding is set to Unicode.
Use QPointer to store pointer to dialogs to avoid crashes.
(However crashes related to dbus are still not resolved.)
Diffstat (limited to 'visualization/qmpvisualization.cpp')
-rw-r--r-- | visualization/qmpvisualization.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/visualization/qmpvisualization.cpp b/visualization/qmpvisualization.cpp index e9d1977..aebf24b 100644 --- a/visualization/qmpvisualization.cpp +++ b/visualization/qmpvisualization.cpp @@ -10,7 +10,7 @@ int notestretch=100;//length of quarter note int minnotelength=100; int noteappearance=1,showpiano=1,stairpiano=1,savevp=1,showlabel=1; int wwidth=800,wheight=600,wsupersample=1,wmultisample=1,showparticle=1; -int horizontal=1; +int horizontal=1,flat=0; int fov=60,vsync=1,tfps=60; DWORD chkrtint=0xFF999999; DWORD iccolors[]={0XFFFF0000,0XFFFF8000,0XFFFFBF00,0XFFFFFF00, |