Fixed a couple issues found by running a smoke test with valgrind.

This commit is contained in:
casey langen 2020-03-18 22:25:52 -07:00
parent 9aee2b0765
commit d231e5a32e
2 changed files with 2 additions and 0 deletions

View File

@ -147,6 +147,7 @@ PlaybackService::PlaybackService(
, unshuffled(library)
, repeatMode(RepeatNone)
, messageQueue(messageQueue)
, timeChangeMode(TimeChangeSeek)
, seekPosition(-1.0f)
, index(NO_POSITION)
, nextIndex(NO_POSITION)

View File

@ -67,6 +67,7 @@ bool sortByFocusOrder(IWindowPtr a, IWindowPtr b) {
LayoutBase::LayoutBase(IWindow* parent)
: Window(parent)
, focused(0)
, focusMode(FocusModeCircular) {
this->SetFrameVisible(false);
}