diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2021-01-02 19:12:15 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2021-01-02 19:12:15 +0000 |
| commit | 48c7312f4ba78ccf2947a9b4b0e6fd2bcdcb3066 (patch) | |
| tree | 8ab83d262aee3e16298c431608ed7ff8873dfb59 /src/plugins/Ui/qsui/listwidgetdrawer.h | |
| parent | 7596bcb971e27330e089a7067b024e476b2ce15e (diff) | |
| download | qmmp-48c7312f4ba78ccf2947a9b4b0e6fd2bcdcb3066.tar.gz qmmp-48c7312f4ba78ccf2947a9b4b0e6fd2bcdcb3066.tar.bz2 qmmp-48c7312f4ba78ccf2947a9b4b0e6fd2bcdcb3066.zip | |
improved coding style
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9614 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Ui/qsui/listwidgetdrawer.h')
| -rw-r--r-- | src/plugins/Ui/qsui/listwidgetdrawer.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/plugins/Ui/qsui/listwidgetdrawer.h b/src/plugins/Ui/qsui/listwidgetdrawer.h index 022299d07..8ae667516 100644 --- a/src/plugins/Ui/qsui/listwidgetdrawer.h +++ b/src/plugins/Ui/qsui/listwidgetdrawer.h @@ -97,22 +97,22 @@ public: private: QColor m_normal, m_current, m_normal_bg, m_selected_bg, m_alternate, m_highlighted, m_splitter; QColor m_group_bg, m_group_alt_bg, m_group_text, m_current_bg, m_current_alt_bg; - QFontMetrics *m_metrics; - QFontMetrics *m_extra_metrics; - QFontMetrics *m_bold_metrics; + QFontMetrics *m_metrics = nullptr; + QFontMetrics *m_extra_metrics = nullptr; + QFontMetrics *m_bold_metrics = nullptr; PlayListHeaderModel *m_header_model; QFont m_font, m_extra_font; - bool m_update; - bool m_show_number; - bool m_show_anchor; - bool m_align_numbres; - bool m_show_lengths; - bool m_use_system_colors; - bool m_single_column; - bool m_show_splitters; - int m_padding; - int m_number_width; - int m_row_height; + bool m_update = false; + bool m_show_number = false; + bool m_show_anchor = false; + bool m_align_numbres = false; + bool m_show_lengths = false; + bool m_use_system_colors = false; + bool m_single_column = true; + bool m_show_splitters = true; + int m_padding = 0; + int m_number_width = 0; + int m_row_height = 0; }; #endif // LISTWIDGETDRAWER_H |
