From eb05b493c49bac7101b778fba0235ec58daf068d Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Tue, 27 Oct 2020 21:24:55 +0000 Subject: using std::initializer_list git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9534 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Input/sndfile/decodersndfilefactory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/Input/sndfile/decodersndfilefactory.cpp') diff --git a/src/plugins/Input/sndfile/decodersndfilefactory.cpp b/src/plugins/Input/sndfile/decodersndfilefactory.cpp index 1b1a1fd56..d6184be50 100644 --- a/src/plugins/Input/sndfile/decodersndfilefactory.cpp +++ b/src/plugins/Input/sndfile/decodersndfilefactory.cpp @@ -116,8 +116,8 @@ DecoderProperties DecoderSndFileFactory::properties() const { DecoderProperties properties; properties.name = tr("Sndfile Plugin"); - properties.filters << "*.wav" << "*.au" << "*.snd" << "*.aif" << "*.aiff" << "*.8svx"; - properties.filters << "*.sph" << "*.sf" << "*.voc" << "*.w64"; + properties.filters = QStringList { "*.wav", "*.au", "*.snd", "*.aif", "*.aiff", "*.8svx" }; + properties.filters = QStringList { "*.sph", "*.sf", "*.voc", "*.w64" }; properties.description = tr("PCM Files"); //properties.contentType = ""; properties.shortName = "sndfile"; -- cgit v1.2.3-13-gbd6f