aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 1e8280875..2a6902e2c 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -166,6 +166,8 @@ void MainWindow::play()
return;
m_equalizer->loadPreset(m_playListModel->currentItem()->fileName());
+ m_playListModel->currentItem()->updateTags();
+ m_playlist->listWidget()->updateList();
QString s = m_playListModel->currentItem()->path();
if (s.isEmpty())
return;
@@ -294,12 +296,6 @@ void MainWindow::updateEQ()
m_core->setEQEnabled(m_equalizer->isEQEnabled());
}
-void MainWindow::updatePreset()
-{
- //if(m_playListModel->currentItem())
- // m_equalizer->setPresetName(m_playListModel->currentItem()->fileName());
-}
-
void MainWindow::showOutputState(const OutputState &st)
{
@@ -808,8 +804,6 @@ void MainWindow::handleCloseRequest()
QApplication::closeAllWindows();
}
-
-
void MainWindow::addUrl( )
{
AddUrlDialog::popup(this,m_playListModel);