diff options
author | Chris Xiong <chirs241097@gmail.com> | 2016-01-16 16:46:27 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2016-01-16 16:46:27 +0800 |
commit | ebda8030fdb70a8162c67947dd980b59337f2d05 (patch) | |
tree | 3ef4b43e8ca4f58788888e18d9feaa4cf74f5107 /qmphelpwindow.cpp | |
parent | e3a5241953051e97978ac42fa278572ae735abb3 (diff) | |
download | QMidiPlayer-dd5a26ffc198c87ea50dfba8f5230fb12fc2d5fb.tar.xz |
Peaceful Romancer. (WTF)0.6.2-2
Diffstat (limited to 'qmphelpwindow.cpp')
-rw-r--r-- | qmphelpwindow.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/qmphelpwindow.cpp b/qmphelpwindow.cpp index 8b99ab2..10cf083 100644 --- a/qmphelpwindow.cpp +++ b/qmphelpwindow.cpp @@ -1,3 +1,4 @@ +#include <fluidsynth.h> #include "qmphelpwindow.hpp" #include "ui_qmphelpwindow.h" @@ -20,7 +21,10 @@ void qmpHelpWindow::on_textBrowser_sourceChanged(const QUrl &src) if(src.fileName()==QString("version.html")) { QString s=ui->textBrowser->toHtml(); - s.replace("QT_VERSION_STR",QT_VERSION_STR); + s.replace("CT_QT_VERSION_STR",QT_VERSION_STR); + s.replace("RT_QT_VERSION_STR",qVersion()); + s.replace("CT_FLUIDSYNTH_VERSION",FLUIDSYNTH_VERSION); + s.replace("RT_FLUIDSYNTH_VERSION",fluid_version_str()); s.replace("APP_VERSION",APP_VERSION); ui->textBrowser->setHtml(s); } |