| 148 | } |
| 149 | |
| 150 | void 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 | |
| 165 | std::string GetThemeTypeName() |
| 166 | { |
no outgoing calls
no test coverage detected