/[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 1499 by capela, Tue Nov 20 16:48:04 2007 UTC revision 1507 by capela, Wed Nov 21 23:22:18 2007 UTC
# Line 312  MainForm::MainForm(QWidget* parent) : QM Line 312  MainForm::MainForm(QWidget* parent) : QM
312          QObject::connect(ui.fileMenu,          QObject::connect(ui.fileMenu,
313                  SIGNAL(aboutToShow()),                  SIGNAL(aboutToShow()),
314                  SLOT(updateRecentFilesMenu()));                  SLOT(updateRecentFilesMenu()));
315            QObject::connect(ui.channelsMenu,
316                    SIGNAL(aboutToShow()),
317                    SLOT(channelsMenuAboutToShow()));
318  }  }
319    
320  // Destructor.  // Destructor.
# Line 2168  ChannelStrip* MainForm::createChannelStr Line 2171  ChannelStrip* MainForm::createChannelStr
2171      if (pChannelStrip == NULL)      if (pChannelStrip == NULL)
2172          return NULL;          return NULL;
2173    
2174      m_pWorkspace->addWindow(pChannelStrip, Qt::Tool);          m_pWorkspace->addWindow(pChannelStrip, Qt::FramelessWindowHint);
2175    
2176      // Actual channel strip setup...      // Actual channel strip setup...
2177      pChannelStrip->setup(pChannel);      pChannelStrip->setup(pChannel);
# Line 2260  void MainForm::channelsMenuAboutToShow ( Line 2263  void MainForm::channelsMenuAboutToShow (
2263                          if (pChannelStrip) {                          if (pChannelStrip) {
2264                                  QAction *pAction = ui.channelsMenu->addAction(                                  QAction *pAction = ui.channelsMenu->addAction(
2265                                          pChannelStrip->windowTitle(), this, SLOT(channelsMenuActivated()));                                          pChannelStrip->windowTitle(), this, SLOT(channelsMenuActivated()));
2266                                  pAction->setData(iChannel);                                  pAction->setCheckable(true);
2267                                  pAction->setChecked(activeChannelStrip() == pChannelStrip);                                  pAction->setChecked(activeChannelStrip() == pChannelStrip);
2268                                    pAction->setData(iChannel);
2269                          }                          }
2270          }          }
2271      }      }

Legend:
Removed from v.1499  
changed lines
  Added in v.1507

  ViewVC Help
Powered by ViewVC