File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -38,13 +38,16 @@ Theme::Theme(QObject* parent) : QAbstractListModel(parent) {
38
38
initialize (QmlEngineHolder::instance ()->engine ());
39
39
});
40
40
41
- #if QT_VERSION >= QT_VERSION_CHECK(6, 5, 0)
42
- connect (QGuiApplication::styleHints (), &QStyleHints::colorSchemeChanged, this ,
43
- []() {
44
- // In VPN-6178, add code here to update the theme when the system
45
- // theme changes (if the user has "system theme" selected).
46
- });
47
- #endif
41
+ // In VPN-6178, uncomment these next few lines and add code.
42
+ // #if QT_VERSION >= QT_VERSION_CHECK(6, 5, 0)
43
+ // connect(QGuiApplication::styleHints(), &QStyleHints::colorSchemeChanged,
44
+ // this,
45
+ // []() {
46
+ // Code gets added here. Code must update the theme when the system
47
+ // theme changes (if the user has "system theme" selected for their VPN
48
+ // theme).
49
+ // });
50
+ // #endif
48
51
}
49
52
50
53
Theme::~Theme () { MZ_COUNT_DTOR (Theme); }
You can’t perform that action at this time.
0 commit comments