diff options
Diffstat (limited to 'qmidiplayer-desktop/qmpmainwindow.cpp')
-rw-r--r-- | qmidiplayer-desktop/qmpmainwindow.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/qmidiplayer-desktop/qmpmainwindow.cpp b/qmidiplayer-desktop/qmpmainwindow.cpp index 1c4d7d3..6e10389 100644 --- a/qmidiplayer-desktop/qmpmainwindow.cpp +++ b/qmidiplayer-desktop/qmpmainwindow.cpp @@ -577,8 +577,9 @@ void qmpMainWindow::startRender() #ifdef _WIN32 char* ofstr=wcsto8bit((plistw->getSelectedItem()+QString(".wav")).toStdWString().c_str()); char* ifstr=wcsto8bit(plistw->getSelectedItem().toStdWString().c_str()); - player->rendererLoadFile(ofstr); - playerSetup();player->rendererInit(ifstr); + fluidrenderer=new qmpFileRendererFluid(ifstr,ofstr); + playerSetup(fluidrenderer); + fluidrenderer->rendererInit(); free(ofstr);free(ifstr); #else fluidrenderer=new qmpFileRendererFluid( |