UI: Remove unused stylesheet code

This code is from before custom stylesheets were introduced.
master
cg2121 2022-08-17 20:37:32 -05:00 committed by Jim
parent 590fa1ffe6
commit 5412b000ab
1 changed files with 0 additions and 11 deletions

View File

@ -288,17 +288,6 @@ OBSBasic::OBSBasic(QWidget *parent)
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<uint32_t>("uint32_t");
qRegisterMetaType<OBSScene>("OBSScene");