summaryrefslogtreecommitdiffstats
path: root/playerwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'playerwidget.cpp')
-rw-r--r--playerwidget.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/playerwidget.cpp b/playerwidget.cpp
index 17384a3..ba00af0 100644
--- a/playerwidget.cpp
+++ b/playerwidget.cpp
@@ -1076,6 +1076,12 @@ void PlayerWidget::doFilter(){
songI->setFont(QFont("courier", -1, QFont::Bold));
root->appendRow(songI);
populateBySong(songI, filter, FilterType);
+ for(int i = 0; i < mCurrentModel->rowCount(); ++i){
+ QModelIndex exp = mCurrentModel->index(i, 0, QModelIndex());
+ if(exp.isValid()){
+ mView->expand(exp);
+ }
+ }
qApp->restoreOverrideCursor();
emit viewModeChanged(tr("Search"));
emit modelChanged();