UI: Add signal for when theme has changed

This commit is contained in:
jp9000 committed 2018-07-21 19:14:36 -07:00
1 parent e1ab9a0fc4
commit 8dc2e6b5fb
2 files changed
+4

No files matched your search

+1
View File
@@ -994,6 +994,7 @@ bool OBSApp::SetTheme(std::string name, std::string path)
setStyleSheet(mpath);
ParseExtraThemeData(path.c_str());
emit StyleChanged();
return true;
}
+3
View File
@@ -165,6 +165,9 @@ public:
{
translatorHooks.pop_front();
}
signals:
void StyleChanged();
};
int GetConfigPath(char *path, size_t size, const char *name);