From b1da99d23caf4132fa5ccbfdb0cb1f28449325c2 Mon Sep 17 00:00:00 2001 From: casey langen Date: Sat, 11 Jan 2020 20:26:30 -0800 Subject: [PATCH] Fix overlay Z-order issue. --- src/core/library/query/local/SearchTrackListQuery.cpp | 4 ---- src/musikcube/cursespp/App.cpp | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/core/library/query/local/SearchTrackListQuery.cpp b/src/core/library/query/local/SearchTrackListQuery.cpp index e791e403c..45abd1402 100755 --- a/src/core/library/query/local/SearchTrackListQuery.cpp +++ b/src/core/library/query/local/SearchTrackListQuery.cpp @@ -43,8 +43,6 @@ #include #include -#include - using musik::core::db::Statement; using musik::core::db::Row; using musik::core::TrackPtr; @@ -134,8 +132,6 @@ bool SearchTrackListQuery::OnRun(Connection& db) { query += this->GetLimitAndOffset(); - std::cerr << query << "\n"; - Statement trackQuery(query.c_str(), db); if (hasFilter) { diff --git a/src/musikcube/cursespp/App.cpp b/src/musikcube/cursespp/App.cpp index 393e62cc3..17a609168 100755 --- a/src/musikcube/cursespp/App.cpp +++ b/src/musikcube/cursespp/App.cpp @@ -469,7 +469,7 @@ process: messages, ensure our overlay is on top, then do a redraw. */ Window::MessageQueue().Dispatch(); - if (this->state.overlayWindow && !this->state.overlayWindow->IsTop()) { + if (this->state.overlayWindow) { this->state.overlay->BringToTop(); /* active overlay is always on top... */ }