diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2007-10-10 07:11:56 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2007-10-10 07:11:56 +0000 |
| commit | 169ba7b277ece4284e2f46677d3646838cc42e68 (patch) | |
| tree | 927ed91b1554d5a92118bb2883c38ed1379b5825 /src/mainwindow.cpp | |
| parent | 55a62d4a794283f05ec2c8858c059fc25f319fe6 (diff) | |
| download | qmmp-169ba7b277ece4284e2f46677d3646838cc42e68.tar.gz qmmp-169ba7b277ece4284e2f46677d3646838cc42e68.tar.bz2 qmmp-169ba7b277ece4284e2f46677d3646838cc42e68.zip | |
read tags before plaing
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@166 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/mainwindow.cpp')
| -rw-r--r-- | src/mainwindow.cpp | 10 |
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); |
