diff options
author | Chris Xiong <chirs241097@gmail.com> | 2020-05-02 10:42:01 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2020-05-02 10:42:01 +0800 |
commit | 86f10fa1bcdc25bf4a91e9b07322edcaa885fe49 (patch) | |
tree | 4a73e85ed4bce11edc4639d67444749c8f153ff5 /visualization/renderer/qmpvisrendercore.cpp | |
parent | f4f80b19a27118275d5f925558f3cfb46bb5d14b (diff) | |
download | QMidiPlayer-86f10fa1bcdc25bf4a91e9b07322edcaa885fe49.tar.xz |
New command line option "list-options" for visualization renderer.
Add documentation for the visualization renderer.
Diffstat (limited to 'visualization/renderer/qmpvisrendercore.cpp')
-rw-r--r-- | visualization/renderer/qmpvisrendercore.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/visualization/renderer/qmpvisrendercore.cpp b/visualization/renderer/qmpvisrendercore.cpp index 304d061..f8044f5 100644 --- a/visualization/renderer/qmpvisrendercore.cpp +++ b/visualization/renderer/qmpvisrendercore.cpp @@ -39,6 +39,11 @@ bool qmpVisRenderCore::loadVisualizationLibrary() switchmode(&qmpVisRenderCore::framefunc,!clp->isSet("show-window")); vp->init(); resetcb(nullptr,nullptr); + if(clp->isSet("list-options")) + { + msettings->listopt(); + exit(0); + } return true; } |