Diffstat (limited to 'core/settings/launcher/tabconfig.h') (more/less context) (show whitespace changes)
-rw-r--r-- | core/settings/launcher/tabconfig.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/core/settings/launcher/tabconfig.h b/core/settings/launcher/tabconfig.h index 8b6b103..eebfd36 100644 --- a/core/settings/launcher/tabconfig.h +++ b/core/settings/launcher/tabconfig.h | |||
@@ -48,6 +48,19 @@ struct TabConfig { | |||
48 | int m_font_weight; | 48 | int m_font_weight; |
49 | bool m_font_italic; | 49 | bool m_font_italic; |
50 | bool m_changed; | 50 | bool m_changed; |
51 | |||
52 | bool operator == ( const TabConfig &tc ) | ||
53 | { | ||
54 | return ( m_view == tc. m_view ) && | ||
55 | ( m_bg_type == tc. m_bg_type ) && | ||
56 | ( m_bg_image == tc. m_bg_image ) && | ||
57 | ( m_bg_color == tc. m_bg_color ) && | ||
58 | ( m_text_color == tc. m_text_color ) && | ||
59 | ( m_font_family == tc. m_font_family ) && | ||
60 | ( m_font_size == tc. m_font_size ) && | ||
61 | ( m_font_weight == tc. m_font_weight ) && | ||
62 | ( m_font_italic == tc. m_font_italic ); | ||
63 | } | ||
51 | }; | 64 | }; |
52 | 65 | ||
53 | #endif | 66 | #endif |