diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2015-06-04 19:23:47 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2015-06-04 19:23:47 +0000 |
| commit | 6db480f7722cd4f5f3c6019a2cf3cfda157e0ce3 (patch) | |
| tree | a27035343c6c3ac6d6152864f1f89cc5eb854344 /src | |
| parent | 9da6c258dcd41efd4f714a34f7928bb044df9db2 (diff) | |
| download | qmmp-6db480f7722cd4f5f3c6019a2cf3cfda157e0ce3.tar.gz qmmp-6db480f7722cd4f5f3c6019a2cf3cfda157e0ce3.tar.bz2 qmmp-6db480f7722cd4f5f3c6019a2cf3cfda157e0ce3.zip | |
modplug plugin: fixed settings updating issue
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@5089 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src')
| -rw-r--r-- | src/plugins/Input/modplug/decoder_modplug.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/Input/modplug/decoder_modplug.cpp b/src/plugins/Input/modplug/decoder_modplug.cpp index 17de36429..56891fdcd 100644 --- a/src/plugins/Input/modplug/decoder_modplug.cpp +++ b/src/plugins/Input/modplug/decoder_modplug.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2008-2012 by Ilya Kotov * + * Copyright (C) 2008-2015 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -56,7 +56,8 @@ DecoderModPlug::DecoderModPlug(const QString &path) : Decoder(0) DecoderModPlug::~DecoderModPlug() { deinit(); - m_instance = 0; + if(m_instance == this) + m_instance = 0; } bool DecoderModPlug::initialize() |
