MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / DisplayTrayMessage

Function DisplayTrayMessage

lib/utils/ui-helpers.cpp:150–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148}
149
150void DisplayTrayMessage(const QString &title, const QString &msg,
151 const QIcon &icon)
152{
153 auto tray = reinterpret_cast<QSystemTrayIcon *>(
154 obs_frontend_get_system_tray());
155 if (!tray) {
156 return;
157 }
158 if (icon.isNull()) {
159 tray->showMessage(title, msg);
160 } else {
161 tray->showMessage(title, msg, icon);
162 }
163}
164
165std::string GetThemeTypeName()
166{

Callers 3

StartMethod · 0.50
StopMethod · 0.50
PerformActionMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected