@@ -156,8 +156,6 @@ void BBEditor::stop()
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
BBTrackContainerView::BBTrackContainerView(BBTrackContainer* tc) :
|
||||
TrackContainerView(tc),
|
||||
m_bbtc(tc)
|
||||
@@ -168,8 +166,6 @@ BBTrackContainerView::BBTrackContainerView(BBTrackContainer* tc) :
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
void BBTrackContainerView::addSteps()
|
||||
{
|
||||
TrackContainer::TrackList tl = model()->tracks();
|
||||
@@ -224,6 +220,18 @@ void BBTrackContainerView::removeBBView(int bb)
|
||||
|
||||
|
||||
|
||||
void BBTrackContainerView::saveSettings(QDomDocument& doc, QDomElement& element)
|
||||
{
|
||||
MainWindow::saveWidgetState(parentWidget(), element);
|
||||
}
|
||||
|
||||
void BBTrackContainerView::loadSettings(const QDomElement& element)
|
||||
{
|
||||
MainWindow::restoreWidgetState(parentWidget(), element);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
void BBTrackContainerView::dropEvent(QDropEvent* de)
|
||||
{
|
||||
@@ -254,17 +262,3 @@ void BBTrackContainerView::updatePosition()
|
||||
//realignTracks();
|
||||
emit positionChanged( m_currentPosition );
|
||||
}
|
||||
|
||||
void BBEditor::closeEvent( QCloseEvent * _ce )
|
||||
{
|
||||
if( parentWidget() )
|
||||
{
|
||||
parentWidget()->hide();
|
||||
}
|
||||
else
|
||||
{
|
||||
hide();
|
||||
}
|
||||
_ce->ignore();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user