From d25fdc99931a393a19a78d8fdc6638322d3ca580 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sat, 2 May 2009 18:03:52 +0000 Subject: added cue with several files support git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@926 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Input/cue/decoder_cue.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/plugins/Input/cue/decoder_cue.cpp') diff --git a/src/plugins/Input/cue/decoder_cue.cpp b/src/plugins/Input/cue/decoder_cue.cpp index 1a13d9049..3e758d459 100644 --- a/src/plugins/Input/cue/decoder_cue.cpp +++ b/src/plugins/Input/cue/decoder_cue.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2008 by Ilya Kotov * + * Copyright (C) 2008-2009 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -62,7 +62,8 @@ bool DecoderCUE::initialize() return FALSE; } int track = path.section("#", -1).toInt(); - path = parser.filePath(); + path = parser.filePath(track); + qDebug(qPrintable(path)); if (!QFile::exists(path)) { qWarning("DecoderCUE: file \"%s\" doesn't exist", qPrintable(path)); -- cgit v1.2.3-13-gbd6f