diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2019-04-15 20:23:48 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2019-04-15 20:23:48 +0000 |
| commit | 915fb430e960e5601de70002cd831477e33f8acf (patch) | |
| tree | e3459d046efbb5231c16efc327019ec8a01b110a /src/plugins/Ui/skinned/balancebar.h | |
| parent | 143ecc15abe768b15071eaddfbda4efbdfb8555c (diff) | |
| download | qmmp-915fb430e960e5601de70002cd831477e33f8acf.tar.gz qmmp-915fb430e960e5601de70002cd831477e33f8acf.tar.bz2 qmmp-915fb430e960e5601de70002cd831477e33f8acf.zip | |
refactoring
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8777 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Ui/skinned/balancebar.h')
| -rw-r--r-- | src/plugins/Ui/skinned/balancebar.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/Ui/skinned/balancebar.h b/src/plugins/Ui/skinned/balancebar.h index 8ee130ebd..8672d12c0 100644 --- a/src/plugins/Ui/skinned/balancebar.h +++ b/src/plugins/Ui/skinned/balancebar.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2006-2012 by Ilya Kotov * + * Copyright (C) 2006-2019 by Ilya Kotov * * forkotov02@ya.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -51,9 +51,9 @@ private slots: private: Skin *m_skin; - bool m_moving; + bool m_moving = false; int press_pos; - int m_max, m_min, m_pos, m_value, m_old; + int m_max = 100, m_min = -100, m_pos, m_value = 0, m_old = 0; QPixmap m_pixmap; int convert(int); // value = convert(position); void draw(bool pressed = true); |
