mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-15 07:44:10 +00:00
UI: Add signal for when theme has changed
This commit is contained in:
parent
e1ab9a0fc4
commit
8dc2e6b5fb
|
@ -994,6 +994,7 @@ bool OBSApp::SetTheme(std::string name, std::string path)
|
|||
setStyleSheet(mpath);
|
||||
ParseExtraThemeData(path.c_str());
|
||||
|
||||
emit StyleChanged();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -165,6 +165,9 @@ public:
|
|||
{
|
||||
translatorHooks.pop_front();
|
||||
}
|
||||
|
||||
signals:
|
||||
void StyleChanged();
|
||||
};
|
||||
|
||||
int GetConfigPath(char *path, size_t size, const char *name);
|
||||
|
|
Loading…
Reference in a new issue