aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/qmmpuisettings.cpp
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2013-08-15 20:03:29 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2013-08-15 20:03:29 +0000
commit186d72f60e89b181b7c634768b5fc3c6a2c4056a (patch)
tree6152b0839a2c0757c4db23b4f61b82b8c0dbccbe /src/qmmpui/qmmpuisettings.cpp
parentf9bfec087195e864e3cca52a1313c5927c496036 (diff)
downloadqmmp-186d72f60e89b181b7c634768b5fc3c6a2c4056a.tar.gz
qmmp-186d72f60e89b181b7c634768b5fc3c6a2c4056a.tar.bz2
qmmp-186d72f60e89b181b7c634768b5fc3c6a2c4056a.zip
refactoring
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3609 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/qmmpuisettings.cpp')
-rw-r--r--src/qmmpui/qmmpuisettings.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/qmmpui/qmmpuisettings.cpp b/src/qmmpui/qmmpuisettings.cpp
index c6e83d495..cab477ad7 100644
--- a/src/qmmpui/qmmpuisettings.cpp
+++ b/src/qmmpui/qmmpuisettings.cpp
@@ -91,7 +91,6 @@ void QmmpUiSettings::setTitleFormat(const QString &format)
if(format != m_title_format)
{
m_title_format = format;
- emit playListSettingsChanged();
foreach(PlayListModel *model, PlayListManager::instance()->playLists())
{
model->doCurrentVisibleRequest();
@@ -186,11 +185,8 @@ void QmmpUiSettings::setDefaultPlayList(const QString &name, bool enabled)
void QmmpUiSettings::setAutoSavePlayList(bool enabled)
{
- if (autoSavePlayList() != enabled)
- {
- m_autosave_playlist = enabled;
- emit playListSettingsChanged();
- }
+ m_autosave_playlist = enabled;
+ PlayListManager::instance()->readSettings();
}
bool QmmpUiSettings::autoSavePlayList() const