From 1e31fe896524513577911e382897b841e40a4814 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sat, 7 Sep 2019 22:08:54 +0000 Subject: removed foreach macro git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9067 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmpui/playlistheadermodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qmmpui/playlistheadermodel.cpp') diff --git a/src/qmmpui/playlistheadermodel.cpp b/src/qmmpui/playlistheadermodel.cpp index 55040aa52..ed7f7c904 100644 --- a/src/qmmpui/playlistheadermodel.cpp +++ b/src/qmmpui/playlistheadermodel.cpp @@ -240,7 +240,7 @@ void PlayListHeaderModel::updatePlayLists() patterns.append(m_columns[i].pattern); m_helper->setTitleFormats(patterns); - foreach(PlayListModel *model, PlayListManager::instance()->playLists()) + for(PlayListModel *model : PlayListManager::instance()->playLists()) { QMetaObject::invokeMethod(model, "listChanged", Q_ARG(int, PlayListModel::METADATA)); } -- cgit v1.2.3-13-gbd6f