UI: Fix certain buttons turning up white in dark theme
Fixes the browse button in the remux file dialog not having the proper style applied. This is a bit of a workaround because it is still unknown why the button was white.
This commit is contained in:
parent
b2d42c069b
commit
5978094fa0
@ -43,7 +43,6 @@
|
||||
#include "window-basic-settings.hpp"
|
||||
#include "crash-report.hpp"
|
||||
#include "platform.hpp"
|
||||
#include "obs-proxy-style.hpp"
|
||||
|
||||
#include <fstream>
|
||||
|
||||
@ -1090,7 +1089,6 @@ bool OBSApp::SetTheme(std::string name, std::string path)
|
||||
QString mpath = QString("file:///") + path.c_str();
|
||||
setPalette(defaultPalette);
|
||||
setStyleSheet(mpath);
|
||||
setStyle(new OBSProxyStyle);
|
||||
ParseExtraThemeData(path.c_str());
|
||||
|
||||
emit StyleChanged();
|
||||
|
@ -53,6 +53,7 @@
|
||||
#include "window-remux.hpp"
|
||||
#include "qt-wrappers.hpp"
|
||||
#include "context-bar-controls.hpp"
|
||||
#include "obs-proxy-style.hpp"
|
||||
#include "display-helpers.hpp"
|
||||
#include "volume-control.hpp"
|
||||
#include "remote-text.hpp"
|
||||
@ -217,6 +218,7 @@ OBSBasic::OBSBasic(QWidget *parent)
|
||||
|
||||
ui->setupUi(this);
|
||||
ui->previewDisabledWidget->setVisible(false);
|
||||
ui->contextContainer->setStyle(new OBSProxyStyle);
|
||||
|
||||
startingDockLayout = saveState();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user