aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qmidiplayer-desktop/qmpmainwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qmidiplayer-desktop/qmpmainwindow.cpp b/qmidiplayer-desktop/qmpmainwindow.cpp
index 41c42c6..ac1d939 100644
--- a/qmidiplayer-desktop/qmpmainwindow.cpp
+++ b/qmidiplayer-desktop/qmpmainwindow.cpp
@@ -786,8 +786,8 @@ bool qmpMainWindow::isDarkTheme()
void qmpMainWindow::startRender()
{
#ifdef _WIN32
- char *ofstr = wcsto8bit((plistw->getSelectedItem() + QString(".wav")).toStdWString().c_str());
- char *ifstr = wcsto8bit(plistw->getSelectedItem().toStdWString().c_str());
+ char *ofstr = wcsto8bit((plistw->getCurrentItem() + QString(".wav")).toStdWString().c_str());
+ char *ifstr = wcsto8bit(plistw->getCurrentItem().toStdWString().c_str());
fluidrenderer = new qmpFileRendererFluid(ifstr, ofstr);
playerSetup(fluidrenderer);
fluidrenderer->renderInit();