From 24085d3e7901ba13477a4d6786abfd4c26fccd3c Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Wed, 26 Mar 2014 11:26:55 +0000 Subject: fixed title/group format setting git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@4207 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmpui/qmmpuisettings.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/qmmpui/qmmpuisettings.cpp') diff --git a/src/qmmpui/qmmpuisettings.cpp b/src/qmmpui/qmmpuisettings.cpp index 36668c5f8..2d05321c3 100644 --- a/src/qmmpui/qmmpuisettings.cpp +++ b/src/qmmpui/qmmpuisettings.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2012-2013 by Ilya Kotov * + * Copyright (C) 2012-2014 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -34,8 +34,8 @@ QmmpUiSettings::QmmpUiSettings(QObject *parent) : QObject(parent) m_instance = this; QSettings s (Qmmp::configFile(), QSettings::IniFormat); s.beginGroup("PlayList"); - m_title_format = s.value("PlayList/title_format", "%p%if(%p&%t, - ,)%t").toString(); - m_group_format = s.value("PlayList/group_format", "%p%if(%p&%a, - %if(%y,[%y] ,),)%a").toString(); + m_title_format = s.value("title_format", "%p%if(%p&%t, - ,)%t").toString(); + m_group_format = s.value("group_format", "%p%if(%p&%a, - %if(%y,[%y] ,),)%a").toString(); m_convertUnderscore = s.value ("convert_underscore", true).toBool(); m_convertTwenty = s.value ("convert_twenty", true).toBool(); m_useMetadata = s.value ("load_metadata", true).toBool(); -- cgit v1.2.3-13-gbd6f