diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-08-13 13:03:27 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-08-13 13:03:27 +0000 |
| commit | 3423cc3621abea72c9f9d1b11bec219137f75f44 (patch) | |
| tree | af133d0e2465f00df0ff7d3e0baec0eda15c6d76 /src/qmmpui/qmmpuisettings.cpp | |
| parent | 91bec81b83ce201a0c06cc70372207964d712d2c (diff) | |
| download | qmmp-3423cc3621abea72c9f9d1b11bec219137f75f44.tar.gz qmmp-3423cc3621abea72c9f9d1b11bec219137f75f44.tar.bz2 qmmp-3423cc3621abea72c9f9d1b11bec219137f75f44.zip | |
added some optimizations
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3587 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/qmmpuisettings.cpp')
| -rw-r--r-- | src/qmmpui/qmmpuisettings.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
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) |
