diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2021-07-18 17:21:21 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2021-07-18 17:21:21 +0000 |
| commit | ef7a934ed7220b6f597e5ef1b6f85730b0fee25b (patch) | |
| tree | 434e9d125946cb02f865a22e9a7c556349cba0cb /src/plugins/Ui/skinned/volumebar.h | |
| parent | 09eafb312823cb995cffc98cfd8f0de4ee7526b3 (diff) | |
| download | qmmp-ef7a934ed7220b6f597e5ef1b6f85730b0fee25b.tar.gz qmmp-ef7a934ed7220b6f597e5ef1b6f85730b0fee25b.tar.bz2 qmmp-ef7a934ed7220b6f597e5ef1b6f85730b0fee25b.zip | |
refactoring
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@10180 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Ui/skinned/volumebar.h')
| -rw-r--r-- | src/plugins/Ui/skinned/volumebar.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/plugins/Ui/skinned/volumebar.h b/src/plugins/Ui/skinned/volumebar.h index 7a5db65cb..a712e9651 100644 --- a/src/plugins/Ui/skinned/volumebar.h +++ b/src/plugins/Ui/skinned/volumebar.h @@ -23,7 +23,6 @@ #include "pixmapwidget.h" class Skin; -class MainWindow; /** @author Ilya Kotov <forkotov02@ya.ru> @@ -59,11 +58,10 @@ private slots: private: Skin *m_skin; - bool m_moving; - int press_pos; - int m_max, m_min, m_pos, m_value, m_old; + bool m_moving = false; + int press_pos = -1; + int m_max = 100, m_min = 0, m_pos, m_value = 0, m_old = 0; QPixmap m_pixmap; - MainWindow *mw; int convert(int); // value = convert(position); void draw(bool pressed = true); |
