"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/gui/editors/SongEditor.cpp" between
lmms-1.2.0-rc7.tar.gz and lmms-1.2.0-rc8.tar.gz

About: LMMS (Linux MultiMedia Studio) is a sound generation system (creation of melodies and beats, synthesis and mixing of sounds, arranging of samples; full MIDI support). Release candidate.

SongEditor.cpp  (lmms-1.2.0-rc7):SongEditor.cpp  (lmms-1.2.0-rc8)
skipping to change at line 641 skipping to change at line 641
QSize SongEditorWindow::sizeHint() const QSize SongEditorWindow::sizeHint() const
{ {
return {600, 300}; return {600, 300};
} }
void SongEditorWindow::resizeEvent(QResizeEvent *event) void SongEditorWindow::resizeEvent(QResizeEvent *event)
{ {
emit resized(); emit resized();
} }
void SongEditorWindow::changeEvent(QEvent *event)
{
QWidget::changeEvent(event);
if (event->type() == QEvent::WindowStateChange)
{
m_editor->realignTracks();
}
}
void SongEditorWindow::play() void SongEditorWindow::play()
{ {
emit playTriggered(); emit playTriggered();
if( Engine::getSong()->playMode() != Song::Mode_PlaySong ) if( Engine::getSong()->playMode() != Song::Mode_PlaySong )
{ {
Engine::getSong()->playSong(); Engine::getSong()->playSong();
} }
else else
{ {
Engine::getSong()->togglePause(); Engine::getSong()->togglePause();
 End of changes. 1 change blocks. 
0 lines changed or deleted 9 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)