aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2014-03-26 11:26:55 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2014-03-26 11:26:55 +0000
commit24085d3e7901ba13477a4d6786abfd4c26fccd3c (patch)
tree90d451cacbee1aec5f838f0ff6fc460a44b83cc8
parentfb257efe921d3776b5231ce4e42f43a20f78d8f2 (diff)
downloadqmmp-24085d3e7901ba13477a4d6786abfd4c26fccd3c.tar.gz
qmmp-24085d3e7901ba13477a4d6786abfd4c26fccd3c.tar.bz2
qmmp-24085d3e7901ba13477a4d6786abfd4c26fccd3c.zip
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
-rw-r--r--src/qmmpui/qmmpuisettings.cpp6
1 files changed, 3 insertions, 3 deletions
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();