1620 |
int iOldServerTimeout = m_pOptions->iServerTimeout; |
int iOldServerTimeout = m_pOptions->iServerTimeout; |
1621 |
bool bOldServerStart = m_pOptions->bServerStart; |
bool bOldServerStart = m_pOptions->bServerStart; |
1622 |
QString sOldServerCmdLine = m_pOptions->sServerCmdLine; |
QString sOldServerCmdLine = m_pOptions->sServerCmdLine; |
1623 |
bool bOldMessagesLog = m_pOptions->bMessagesLog; |
bool bOldMessagesLog = m_pOptions->bMessagesLog; |
1624 |
QString sOldMessagesLogPath = m_pOptions->sMessagesLogPath; |
QString sOldMessagesLogPath = m_pOptions->sMessagesLogPath; |
1625 |
QString sOldDisplayFont = m_pOptions->sDisplayFont; |
QString sOldDisplayFont = m_pOptions->sDisplayFont; |
1626 |
bool bOldDisplayEffect = m_pOptions->bDisplayEffect; |
bool bOldDisplayEffect = m_pOptions->bDisplayEffect; |
1633 |
bool bOldCompletePath = m_pOptions->bCompletePath; |
bool bOldCompletePath = m_pOptions->bCompletePath; |
1634 |
bool bOldInstrumentNames = m_pOptions->bInstrumentNames; |
bool bOldInstrumentNames = m_pOptions->bInstrumentNames; |
1635 |
int iOldMaxRecentFiles = m_pOptions->iMaxRecentFiles; |
int iOldMaxRecentFiles = m_pOptions->iMaxRecentFiles; |
1636 |
|
int iOldBaseFontSize = m_pOptions->iBaseFontSize; |
1637 |
// Load the current setup settings. |
// Load the current setup settings. |
1638 |
pOptionsForm->setup(m_pOptions); |
pOptionsForm->setup(m_pOptions); |
1639 |
// Show the setup dialog... |
// Show the setup dialog... |
1642 |
if (( bOldStdoutCapture && !m_pOptions->bStdoutCapture) || |
if (( bOldStdoutCapture && !m_pOptions->bStdoutCapture) || |
1643 |
(!bOldStdoutCapture && m_pOptions->bStdoutCapture) || |
(!bOldStdoutCapture && m_pOptions->bStdoutCapture) || |
1644 |
( bOldKeepOnTop && !m_pOptions->bKeepOnTop) || |
( bOldKeepOnTop && !m_pOptions->bKeepOnTop) || |
1645 |
(!bOldKeepOnTop && m_pOptions->bKeepOnTop)) { |
(!bOldKeepOnTop && m_pOptions->bKeepOnTop) || |
1646 |
|
(iOldBaseFontSize != m_pOptions->iBaseFontSize)) { |
1647 |
QMessageBox::information(this, |
QMessageBox::information(this, |
1648 |
QSAMPLER_TITLE ": " + tr("Information"), |
QSAMPLER_TITLE ": " + tr("Information"), |
1649 |
tr("Some settings may be only effective\n" |
tr("Some settings may be only effective\n" |
2771 |
} |
} |
2772 |
} |
} |
2773 |
|
|
2774 |
|
// send the current / loaded fine tuning settings to the sampler |
2775 |
|
m_pOptions->sendFineTuningSettings(); |
2776 |
|
|
2777 |
// Make a new session |
// Make a new session |
2778 |
return newSession(); |
return newSession(); |
2779 |
} |
} |