mirror of
https://github.com/gtalent/sc9k.git
synced 2025-01-22 21:03:37 -06:00
[sc9k] Fix to SlideView to use correct signal from QListWidget
This commit is contained in:
parent
564ed77c9a
commit
9f29b58522
@ -44,7 +44,7 @@ QString SlideView::getNextSong() const {
|
||||
}
|
||||
|
||||
void SlideView::pollUpdate(QString songName, int slide) {
|
||||
auto songItems = m_songSelector->findItems(songName, Qt::MatchCaseSensitive);
|
||||
auto songItems = m_songSelector->findItems(songName, Qt::MatchFixedString);
|
||||
if (songItems.size() < 1) {
|
||||
return;
|
||||
}
|
||||
@ -97,5 +97,5 @@ void SlideView::songListUpdate(QStringList songList) {
|
||||
if (isReplacement) {
|
||||
changeSong(0);
|
||||
}
|
||||
connect(m_songSelector, SIGNAL(currentIndexChanged(int)), this, SLOT(changeSong(int)));
|
||||
connect(m_songSelector, &QListWidget::currentRowChanged, this, &SlideView::changeSong);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user