/[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 1513 by capela, Fri Nov 23 09:32:06 2007 UTC revision 1514 by capela, Fri Nov 23 10:51:37 2007 UTC
# Line 205  MainForm::MainForm ( QWidget *pParent ) Line 205  MainForm::MainForm ( QWidget *pParent )
205          // Set the activation connection.          // Set the activation connection.
206          QObject::connect(m_pWorkspace,          QObject::connect(m_pWorkspace,
207                  SIGNAL(windowActivated(QWidget *)),                  SIGNAL(windowActivated(QWidget *)),
208                  SLOT(stabilizeForm()));                  SLOT(activateStrip(QWidget *)));
209          // Make it shine :-)          // Make it shine :-)
210          setCentralWidget(m_pWorkspace);          setCentralWidget(m_pWorkspace);
211    
# Line 2663  void MainForm::stopClient (void) Line 2663  void MainForm::stopClient (void)
2663          stabilizeForm();          stabilizeForm();
2664  }  }
2665    
2666    
2667    // Channel strip activation/selection.
2668    void MainForm::activateStrip ( QWidget *pWidget )
2669    {
2670            ChannelStrip *pChannelStrip
2671                    = static_cast<ChannelStrip *> (pWidget);
2672            if (pChannelStrip)
2673                    pChannelStrip->setSelected(true);
2674    
2675            stabilizeForm();
2676    }
2677    
2678    
2679  } // namespace QSampler  } // namespace QSampler
2680    
2681    

Legend:
Removed from v.1513  
changed lines
  Added in v.1514

  ViewVC Help
Powered by ViewVC