UI: Add signal for when theme has changed

This commit is contained in:
jp9000 2018-07-04 21:05:13 -07:00
parent e1ab9a0fc4
commit 8dc2e6b5fb
2 changed files with 4 additions and 0 deletions

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;
}

View file

@ -165,6 +165,9 @@ public:
{
translatorHooks.pop_front();
}
signals:
void StyleChanged();
};
int GetConfigPath(char *path, size_t size, const char *name);