Skip to content

Commit 22cd9d1

Browse files
committed
comment out code for now
1 parent ba9dd9d commit 22cd9d1

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

src/theme.cpp

+10-7
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,16 @@ Theme::Theme(QObject* parent) : QAbstractListModel(parent) {
3838
initialize(QmlEngineHolder::instance()->engine());
3939
});
4040

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
4851
}
4952

5053
Theme::~Theme() { MZ_COUNT_DTOR(Theme); }

0 commit comments

Comments
 (0)