From 7ef8d11baeaf1847ba7f1df5d858f8cffea9300d Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Wed, 12 Aug 2020 21:03:34 +0000 Subject: coding style fixes git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9470 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Input/sid/decoder_sid.cpp | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'src/plugins/Input/sid/decoder_sid.cpp') diff --git a/src/plugins/Input/sid/decoder_sid.cpp b/src/plugins/Input/sid/decoder_sid.cpp index 31994a2cc..2a6c8e566 100644 --- a/src/plugins/Input/sid/decoder_sid.cpp +++ b/src/plugins/Input/sid/decoder_sid.cpp @@ -32,15 +32,12 @@ #include "decoder_sid.h" // Decoder class -DecoderSID::DecoderSID(SidDatabase *db, const QString &url) : Decoder(), m_tune(nullptr) -{ - m_db = db; - m_url = url; - m_player = new sidplayfp(); - m_length = 0; - m_length_in_bytes = 0; - m_read_bytes = 0; -} +DecoderSID::DecoderSID(SidDatabase *db, const QString &url) : Decoder(), + m_url(url), + m_player(new sidplayfp()), + m_db(db), + m_tune(nullptr) +{} DecoderSID::~DecoderSID() { -- cgit v1.2.3-13-gbd6f