diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2015-09-29 06:09:17 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2015-09-29 06:09:17 +0000 |
| commit | a302f869bb92b90fae927f8f0d58a1b0f2893483 (patch) | |
| tree | a61d999625f2c2432d315d1e4783ebbf80319ed4 | |
| parent | edf8881a5c2bd6a3025443636d5b22a22893f833 (diff) | |
| download | qmmp-a302f869bb92b90fae927f8f0d58a1b0f2893483.tar.gz qmmp-a302f869bb92b90fae927f8f0d58a1b0f2893483.tar.bz2 qmmp-a302f869bb92b90fae927f8f0d58a1b0f2893483.zip | |
fixed effects and decoders sorting
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@5616 90c681e8-e032-0410-971d-27865f9a5e38
| -rw-r--r-- | src/qmmp/decoder.cpp | 2 | ||||
| -rw-r--r-- | src/qmmp/effect.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/qmmp/decoder.cpp b/src/qmmp/decoder.cpp index 2733f5555..1ef5c672a 100644 --- a/src/qmmp/decoder.cpp +++ b/src/qmmp/decoder.cpp @@ -130,7 +130,7 @@ void Decoder::loadPlugins() m_cache->append(item); } m_disabledNames = settings.value("Decoder/disabled_plugins").toStringList(); - qSort(m_cache->begin(), m_cache->end(), _pluginCacheLessComparator); + qStableSort(m_cache->begin(), m_cache->end(), _pluginCacheLessComparator); QmmpPluginCache::cleanup(&settings); } diff --git a/src/qmmp/effect.cpp b/src/qmmp/effect.cpp index 429a6df93..b82c813a5 100644 --- a/src/qmmp/effect.cpp +++ b/src/qmmp/effect.cpp @@ -107,7 +107,7 @@ void Effect::loadPlugins() m_cache->append(item); } - qSort(m_cache->begin(), m_cache->end(), _effectCacheCompareFunc); + qStableSort(m_cache->begin(), m_cache->end(), _effectCacheCompareFunc); m_enabledNames = settings.value("Effect/enabled_plugins").toStringList(); } |
