Mercurial > octave
comparison libgui/src/gui-preferences-global.h @ 31620:6dfaaf8ecf3b
use gui_settings to store icon fallbacks
* gui-preferences-global.h (global_icon_fallbacks): New gui_pref.
* resource-manager.cc, resource-manager.h
(resource_manager::m_icon_fallbacks): Delete member variable.
(resource_manager::config_icon_theme, resource_manager::icon):
Use gui_settings to store icon fallback themes.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 02 Dec 2022 18:31:30 -0500 |
parents | 50a225732661 |
children | 474e184321d3 |
comparison
equal
deleted
inserted
replaced
31619:ad014fc78bd6 | 31620:6dfaaf8ecf3b |
---|---|
116 "Octave", | 116 "Octave", |
117 "Tango" | 117 "Tango" |
118 }; | 118 }; |
119 | 119 |
120 const gui_pref | 120 const gui_pref |
121 global_icon_fallbacks ("icon_fallbacks", QVariant (QStringList ())); | |
122 | |
123 const gui_pref | |
121 global_status_bar ("show_status_bar", QVariant (true)); | 124 global_status_bar ("show_status_bar", QVariant (true)); |
122 | 125 |
123 | 126 |
124 enum | 127 enum |
125 { | 128 { |