ports/audio/qsynth/patches/patch-src_qsynthChannelsForm_cpp

16 lines
542 B
Text

Index: src/qsynthChannelsForm.cpp
--- src/qsynthChannelsForm.cpp.orig
+++ src/qsynthChannelsForm.cpp
@@ -281,10 +281,12 @@ void qsynthChannelsForm::updateChannel ( int iChan )
pItem->setText(QSYNTH_CHANNELS_PROG,
QString::number(iProg));
pItem->setText(QSYNTH_CHANNELS_NAME, sName);
+ #ifdef CONFIG_FLUID_BANK_OFFSET
pItem->setText(QSYNTH_CHANNELS_SFID,
QString::number(iSFID));
pItem->setText(QSYNTH_CHANNELS_SFNAME,
QFileInfo(sSFName).baseName());
+ #endif
// Make this a dirty-operation.
m_iDirtyCount++;
}