Browse Source

UI: Remove unused stylesheet code

This code is from before custom stylesheets were introduced.
cg2121 3 years ago
parent
commit
5412b000ab
1 changed files with 0 additions and 11 deletions
  1. 0 11
      UI/window-basic-main.cpp

+ 0 - 11
UI/window-basic-main.cpp

@@ -288,17 +288,6 @@ OBSBasic::OBSBasic(QWidget *parent)
 
 
 	copyActionsDynamicProperties();
 	copyActionsDynamicProperties();
 
 
-	char styleSheetPath[512];
-	int ret = GetProfilePath(styleSheetPath, sizeof(styleSheetPath),
-				 "stylesheet.qss");
-	if (ret > 0) {
-		if (QFile::exists(styleSheetPath)) {
-			QString path =
-				QString("file:///") + QT_UTF8(styleSheetPath);
-			App()->setStyleSheet(path);
-		}
-	}
-
 	qRegisterMetaType<int64_t>("int64_t");
 	qRegisterMetaType<int64_t>("int64_t");
 	qRegisterMetaType<uint32_t>("uint32_t");
 	qRegisterMetaType<uint32_t>("uint32_t");
 	qRegisterMetaType<OBSScene>("OBSScene");
 	qRegisterMetaType<OBSScene>("OBSScene");