From 935ed10de91492efa027a6fd65c88e333c76825e Mon Sep 17 00:00:00 2001 From: casey langen Date: Sun, 18 Sep 2016 01:19:25 -0700 Subject: [PATCH] Fixed now playing library view focus by removing some code that never should have been there in the first place. --- src/musikbox/app/layout/NowPlayingLayout.cpp | 4 ---- src/musikbox/app/layout/NowPlayingLayout.h | 1 - 2 files changed, 5 deletions(-) diff --git a/src/musikbox/app/layout/NowPlayingLayout.cpp b/src/musikbox/app/layout/NowPlayingLayout.cpp index 416db737e..7c5952401 100755 --- a/src/musikbox/app/layout/NowPlayingLayout.cpp +++ b/src/musikbox/app/layout/NowPlayingLayout.cpp @@ -93,10 +93,6 @@ void NowPlayingLayout::InitializeWindows() { this->Layout(); } -IWindowPtr NowPlayingLayout::GetFocus() { - return this->trackList; -} - void NowPlayingLayout::OnVisibilityChanged(bool visible) { LayoutBase::OnVisibilityChanged(visible); diff --git a/src/musikbox/app/layout/NowPlayingLayout.h b/src/musikbox/app/layout/NowPlayingLayout.h index 1ef085e1d..3a54ecbe4 100755 --- a/src/musikbox/app/layout/NowPlayingLayout.h +++ b/src/musikbox/app/layout/NowPlayingLayout.h @@ -63,7 +63,6 @@ namespace musik { virtual void Layout(); virtual void OnVisibilityChanged(bool visible); - virtual cursespp::IWindowPtr GetFocus(); virtual bool KeyPress(const std::string& key); private: