diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2020-08-12 21:03:34 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2020-08-12 21:03:34 +0000 |
| commit | 7ef8d11baeaf1847ba7f1df5d858f8cffea9300d (patch) | |
| tree | a741fb49db8834efd4b46d760b89082547eb2a9d /src/plugins/Ui/skinned/titlebar.h | |
| parent | 6f301f5880f7efce76ed46e7b502830642b87370 (diff) | |
| download | qmmp-7ef8d11baeaf1847ba7f1df5d858f8cffea9300d.tar.gz qmmp-7ef8d11baeaf1847ba7f1df5d858f8cffea9300d.tar.bz2 qmmp-7ef8d11baeaf1847ba7f1df5d858f8cffea9300d.zip | |
coding style fixes
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9470 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Ui/skinned/titlebar.h')
| -rw-r--r-- | src/plugins/Ui/skinned/titlebar.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/plugins/Ui/skinned/titlebar.h b/src/plugins/Ui/skinned/titlebar.h index 8d768a376..c6c80391d 100644 --- a/src/plugins/Ui/skinned/titlebar.h +++ b/src/plugins/Ui/skinned/titlebar.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2007-2016 by Ilya Kotov * + * Copyright (C) 2007-2020 by Ilya Kotov * * forkotov02@ya.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -22,7 +22,6 @@ #include <QMainWindow> #include <QPoint> - #include "pixmapwidget.h" #include "playlist.h" @@ -42,7 +41,7 @@ class TitleBar : public PixmapWidget { Q_OBJECT public: - TitleBar(TimeIndicatorModel *model, QWidget *parent = nullptr); + explicit TitleBar(TimeIndicatorModel *model, QWidget *parent = nullptr); ~TitleBar(); @@ -61,14 +60,14 @@ private: Button *m_menu; Button *m_minimize; Button *m_shade; - Button *m_shade2; + Button *m_shade2 = nullptr; Button *m_close; - SymbolDisplay *m_currentTime; + SymbolDisplay *m_currentTime = nullptr; QString formatTime (int); - bool m_shaded; - bool m_align; - TitleBarControl *m_control; - ShadedVisual *m_visual; + bool m_shaded = false; + bool m_align = false; + TitleBarControl *m_control = nullptr; + ShadedVisual *m_visual = nullptr; TimeIndicatorModel *m_model; void updatePositions(); |
