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/General/notifier/notifier.cpp | 4 ---- src/plugins/General/notifier/notifier.h | 6 +++--- 2 files changed, 3 insertions(+), 7 deletions(-) (limited to 'src/plugins/General/notifier') diff --git a/src/plugins/General/notifier/notifier.cpp b/src/plugins/General/notifier/notifier.cpp index b670e8e2c..ad3012e18 100644 --- a/src/plugins/General/notifier/notifier.cpp +++ b/src/plugins/General/notifier/notifier.cpp @@ -41,10 +41,6 @@ Notifier::Notifier(QObject *parent) : QObject(parent) { - m_popupWidget = nullptr; - m_l = -1; - m_r = -1; - m_isPaused = false; QSettings settings(Qmmp::configFile(), QSettings::IniFormat); settings.beginGroup("Notifier"); m_desktop = settings.value("song_notification", true).toBool(); diff --git a/src/plugins/General/notifier/notifier.h b/src/plugins/General/notifier/notifier.h index c612711e7..dcb8101e4 100644 --- a/src/plugins/General/notifier/notifier.h +++ b/src/plugins/General/notifier/notifier.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2008-2016 by Ilya Kotov * + * Copyright (C) 2008-2020 by Ilya Kotov * * forkotov02@ya.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -51,8 +51,8 @@ private: QPointer m_popupWidget; bool m_desktop, m_showVolume; bool m_psi; - int m_l, m_r; - bool m_isPaused; + int m_l = -1, m_r = -1; + bool m_isPaused = false; bool m_resumeNotification; bool m_disableForFullScreen; SoundCore *m_core; -- cgit v1.2.3-13-gbd6f