diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2019-09-07 22:08:54 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2019-09-07 22:08:54 +0000 |
| commit | 1e31fe896524513577911e382897b841e40a4814 (patch) | |
| tree | 153483337dcab82e0bc32cc19f7876a7eb9593c7 /src/plugins/General/notifier/notifier.cpp | |
| parent | 1d6f69e20769d902a70001277199129361d0a761 (diff) | |
| download | qmmp-1e31fe896524513577911e382897b841e40a4814.tar.gz qmmp-1e31fe896524513577911e382897b841e40a4814.tar.bz2 qmmp-1e31fe896524513577911e382897b841e40a4814.zip | |
removed foreach macro
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9067 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/notifier/notifier.cpp')
| -rw-r--r-- | src/plugins/General/notifier/notifier.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/General/notifier/notifier.cpp b/src/plugins/General/notifier/notifier.cpp index 1ad9e6a19..62b4b5641 100644 --- a/src/plugins/General/notifier/notifier.cpp +++ b/src/plugins/General/notifier/notifier.cpp @@ -138,7 +138,7 @@ void Notifier::showMetaData() data.append(m_core->metaData(Qmmp::TRACK).toUtf8()+"\n"); data.append(QString("%1").arg(m_core->duration()/1000).toUtf8()+"\n"); - foreach(QString path, m_psiTuneFiles) + for(const QString &path : qAsConst(m_psiTuneFiles)) { QDir tuneDir = QFileInfo(path).absoluteDir(); if(!tuneDir.exists()) @@ -170,7 +170,7 @@ void Notifier::removePsiTuneFiles() { if(m_psi) //clear psi notification { - foreach(QString path, m_psiTuneFiles) + for(const QString &path : qAsConst(m_psiTuneFiles)) QFile::remove(path); } } |
