UI: Remove unused stylesheet code
This code is from before custom stylesheets were introduced.master
parent
590fa1ffe6
commit
5412b000ab
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue