From 3423cc3621abea72c9f9d1b11bec219137f75f44 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Tue, 13 Aug 2013 13:03:27 +0000 Subject: added some optimizations git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3587 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmpui/qmmpuisettings.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/qmmpui/qmmpuisettings.cpp') diff --git a/src/qmmpui/qmmpuisettings.cpp b/src/qmmpui/qmmpuisettings.cpp index 33dab8fdf..458d946ab 100644 --- a/src/qmmpui/qmmpuisettings.cpp +++ b/src/qmmpui/qmmpuisettings.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2012 by Ilya Kotov * + * Copyright (C) 2012-2013 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -81,18 +81,16 @@ void QmmpUiSettings::setConvertTwenty(bool yes) void QmmpUiSettings::setFormat(const QString &format) { - /*m_format = format; + m_format = format; if(format != m_format) { m_format = format; - //emit settingsChanged(); + emit playListSettingsChanged(); foreach(PlayListModel *model, PlayListManager::instance()->playLists()) { - foreach(PlayListTrack *item, model->items()) - item->setText(QString()); model->doCurrentVisibleRequest(); } - }*/ + } } void QmmpUiSettings::setUseMetadata(bool yes) -- cgit v1.2.3-13-gbd6f