/[svn]/qsampler/trunk/src/qsamplerMainForm.cpp
ViewVC logotype

Diff of /qsampler/trunk/src/qsamplerMainForm.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1737 by capela, Tue Feb 19 09:18:45 2008 UTC revision 1738 by capela, Wed May 14 15:24:22 2008 UTC
# Line 1  Line 1 
1  // qsamplerMainForm.cpp  // qsamplerMainForm.cpp
2  //  //
3  /****************************************************************************  /****************************************************************************
4     Copyright (C) 2004-2007, rncbc aka Rui Nuno Capela. All rights reserved.     Copyright (C) 2004-2008, rncbc aka Rui Nuno Capela. All rights reserved.
5     Copyright (C) 2007, 2008 Christian Schoenebeck     Copyright (C) 2007, 2008 Christian Schoenebeck
6    
7     This program is free software; you can redistribute it and/or     This program is free software; you can redistribute it and/or
# Line 391  void MainForm::setup ( Options *pOptions Line 391  void MainForm::setup ( Options *pOptions
391  #else  #else
392          viewInstrumentsAction->setEnabled(false);          viewInstrumentsAction->setEnabled(false);
393  #endif  #endif
394            // Setup appropriately...
395            m_pMessages->setLogging(m_pOptions->bMessagesLog, m_pOptions->sMessagesLogPath);
396          // Set message defaults...          // Set message defaults...
397          updateMessagesFont();          updateMessagesFont();
398          updateMessagesLimit();          updateMessagesLimit();
# Line 1616  void MainForm::viewOptions (void) Line 1618  void MainForm::viewOptions (void)
1618                  int     iOldServerTimeout   = m_pOptions->iServerTimeout;                  int     iOldServerTimeout   = m_pOptions->iServerTimeout;
1619                  bool    bOldServerStart     = m_pOptions->bServerStart;                  bool    bOldServerStart     = m_pOptions->bServerStart;
1620                  QString sOldServerCmdLine   = m_pOptions->sServerCmdLine;                  QString sOldServerCmdLine   = m_pOptions->sServerCmdLine;
1621                    bool    bOldMessagesLog     = m_pOptions->bMessagesLog;
1622                    QString sOldMessagesLogPath = m_pOptions->sMessagesLogPath;
1623                  QString sOldDisplayFont     = m_pOptions->sDisplayFont;                  QString sOldDisplayFont     = m_pOptions->sDisplayFont;
1624                  bool    bOldDisplayEffect   = m_pOptions->bDisplayEffect;                  bool    bOldDisplayEffect   = m_pOptions->bDisplayEffect;
1625                  int     iOldMaxVolume       = m_pOptions->iMaxVolume;                  int     iOldMaxVolume       = m_pOptions->iMaxVolume;
# Line 1643  void MainForm::viewOptions (void) Line 1647  void MainForm::viewOptions (void)
1647                                  updateMessagesCapture();                                  updateMessagesCapture();
1648                          }                          }
1649                          // Check wheather something immediate has changed.                          // Check wheather something immediate has changed.
1650                            if (( bOldMessagesLog && !m_pOptions->bMessagesLog) ||
1651                                    (!bOldMessagesLog &&  m_pOptions->bMessagesLog) ||
1652                                    (sOldMessagesLogPath != m_pOptions->sMessagesLogPath))
1653                                    m_pMessages->setLogging(
1654                                            m_pOptions->bMessagesLog, m_pOptions->sMessagesLogPath);
1655                          if (( bOldCompletePath && !m_pOptions->bCompletePath) ||                          if (( bOldCompletePath && !m_pOptions->bCompletePath) ||
1656                                  (!bOldCompletePath &&  m_pOptions->bCompletePath) ||                                  (!bOldCompletePath &&  m_pOptions->bCompletePath) ||
1657                                  (iOldMaxRecentFiles != m_pOptions->iMaxRecentFiles))                                  (iOldMaxRecentFiles != m_pOptions->iMaxRecentFiles))

Legend:
Removed from v.1737  
changed lines
  Added in v.1738

  ViewVC Help
Powered by ViewVC