Files
lmms/include
Michael Gregorius b79999a6bf Move some window title updates from Song into MainWindow
Move the window title updates which are triggered due to a changed
modify state from Song to MainWindow.

Implementation details:
Add a new signal modified to Song and connect the new slot method
MainWindow::onSongModified to it.

Currently only the window title is updated in the slot. It is only
updated if the code is executed from the GUI main thread. This
implementation was taken over from the original implementation of
Song::setModified. The assumption here seems to be that the Song might
also be set as modified from other threads (which is a bad design).

Add a new private method Song::setModified(bool) and replace all direct
manipulations of m_modified in Song by calls to this method. This is done
to ensure that the signal can be emitted in all these cases. Make
Song::setModified() delegates to Song::setModified(bool) for the same
reason.

Other changes:
Slightly refactor MainWindow::resetWindowTitle to get rid of an
unnecessary if statement.
2017-12-26 00:33:11 +01:00
..
2017-06-12 13:57:08 -04:00
2017-12-20 14:16:16 +09:00
2017-08-01 00:39:00 -04:00
2017-11-22 11:08:47 +01:00
2017-11-08 20:47:22 -05:00
2017-12-11 10:46:19 -05:00
2017-03-08 17:09:57 +01:00
2017-03-16 11:35:18 +00:00
2017-09-14 08:09:54 +09:00
2017-06-26 19:45:59 +02:00
2017-03-16 11:35:18 +00:00
2008-07-22 11:36:50 +00:00
2017-11-22 13:49:57 +01:00
2017-11-24 09:56:08 +09:00
2017-11-22 20:38:10 +01:00
2017-11-17 09:51:56 -05:00
2017-07-20 18:23:10 +02:00
2017-11-22 20:38:10 +01:00
2017-11-22 11:08:47 +01:00
2017-12-20 14:16:16 +09:00
2017-03-16 11:35:18 +00:00
2017-11-14 23:42:26 -05:00
2017-11-01 14:43:39 -04:00
2017-10-16 15:51:21 +02:00
2017-03-16 11:35:18 +00:00