mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-22 22:15:21 -04:00
UI: Add signal for when theme has changed
This commit is contained in:
1 parent
e1ab9a0fc4
commit
8dc2e6b5fb
2 files changed
+4
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user