From 564ed77c9afc2ad35de30e7716cff315de7791bf Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sun, 24 Jul 2022 08:56:17 -0500 Subject: [PATCH] [sc9k] Swap song view and slide view, fix item lookup in song view --- src/slideview.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/slideview.cpp b/src/slideview.cpp index 69177b4..44ad55d 100644 --- a/src/slideview.cpp +++ b/src/slideview.cpp @@ -29,8 +29,8 @@ SlideView::SlideView(QWidget *parent): QWidget(parent) { #ifndef _WIN32 m_slideTable->setAlternatingRowColors(true); #endif - lyt->addWidget(m_songSelector); lyt->addWidget(m_slideTable); + lyt->addWidget(m_songSelector); connect(m_slideTable, &QTableWidget::currentCellChanged, this, &SlideView::slideChanged); } @@ -44,7 +44,7 @@ QString SlideView::getNextSong() const { } void SlideView::pollUpdate(QString songName, int slide) { - auto songItems = m_songSelector->findItems(songName, Qt::MatchExactly); + auto songItems = m_songSelector->findItems(songName, Qt::MatchCaseSensitive); if (songItems.size() < 1) { return; }