diff --git a/UI/obs-app.cpp b/UI/obs-app.cpp index 91a7196f8..fb7a5f715 100644 --- a/UI/obs-app.cpp +++ b/UI/obs-app.cpp @@ -1189,7 +1189,6 @@ std::string OBSApp::SetParentTheme(std::string name) if (path.empty()) return path; - setStyleSheet(defaultStyleSheet); setPalette(defaultPalette); QString mpath = QString("file:///") + path.c_str(); @@ -1238,7 +1237,6 @@ bool OBSApp::SetTheme(std::string name, std::string path) bool OBSApp::InitTheme() { defaultPalette = palette(); - defaultStyleSheet = styleSheet(); const char *themeName = config_get_string(globalConfig, "General", "CurrentTheme3"); diff --git a/UI/obs-app.hpp b/UI/obs-app.hpp index 88ff508d5..df75bec92 100644 --- a/UI/obs-app.hpp +++ b/UI/obs-app.hpp @@ -80,7 +80,6 @@ class OBSApp : public QApplication { private: std::string locale; std::string theme; - QString defaultStyleSheet; OBSThemeMeta *themeMeta = nullptr; bool themeDarkMode = true; ConfigFile globalConfig;