205 |
// We got options? |
// We got options? |
206 |
m_pOptions = pOptions; |
m_pOptions = pOptions; |
207 |
|
|
|
// Set initial instrument name display mode. |
|
|
qsamplerChannel::setInstrumentNames(m_pOptions->bInstrumentNames); |
|
|
|
|
208 |
// Some child forms are to be created right now. |
// Some child forms are to be created right now. |
209 |
m_pMessages = new qsamplerMessages(this); |
m_pMessages = new qsamplerMessages(this); |
210 |
// Set message defaults... |
// Set message defaults... |
960 |
int iOldMessagesLimitLines = m_pOptions->iMessagesLimitLines; |
int iOldMessagesLimitLines = m_pOptions->iMessagesLimitLines; |
961 |
bool bOldCompletePath = m_pOptions->bCompletePath; |
bool bOldCompletePath = m_pOptions->bCompletePath; |
962 |
int iOldMaxRecentFiles = m_pOptions->iMaxRecentFiles; |
int iOldMaxRecentFiles = m_pOptions->iMaxRecentFiles; |
|
bool bOldInstrumentNames = m_pOptions->bInstrumentNames; |
|
963 |
// Load the current setup settings. |
// Load the current setup settings. |
964 |
pOptionsForm->setup(m_pOptions); |
pOptionsForm->setup(m_pOptions); |
965 |
// Show the setup dialog... |
// Show the setup dialog... |
973 |
updateMessagesCapture(); |
updateMessagesCapture(); |
974 |
} |
} |
975 |
// Check wheather something immediate has changed. |
// Check wheather something immediate has changed. |
|
if (( bOldInstrumentNames && !m_pOptions->bInstrumentNames) || |
|
|
(!bOldInstrumentNames && m_pOptions->bInstrumentNames)) |
|
|
qsamplerChannel::setInstrumentNames(m_pOptions->bInstrumentNames); |
|
976 |
if (( bOldCompletePath && !m_pOptions->bCompletePath) || |
if (( bOldCompletePath && !m_pOptions->bCompletePath) || |
977 |
(!bOldCompletePath && m_pOptions->bCompletePath) || |
(!bOldCompletePath && m_pOptions->bCompletePath) || |
978 |
(iOldMaxRecentFiles != m_pOptions->iMaxRecentFiles)) |
(iOldMaxRecentFiles != m_pOptions->iMaxRecentFiles)) |