Show active publisher shortcut in desktop channel header
This commit is contained in:
1 parent
0be7a19def
commit
4adff4d920
3 files changed
+38
-1
No files matched your search
@@ -671,6 +671,7 @@ void MainWindow::setupConnects() {
|
||||
if (!m_streamPublisher) {
|
||||
m_streamPublisher = new StreamPublishEngine(this);
|
||||
connect(m_streamPublisher, &StreamPublishEngine::stateChanged, this, [this](const QString& state) {
|
||||
m_messageList->setStreamPublisherGroup(m_streamPublisher->active() ? m_streamPublisher->group() : 0);
|
||||
if (m_trayIcon) m_trayIcon->setToolTip(m_streamPublisher->active() ? QStringLiteral("vibechat · ") + state : QStringLiteral("vibechat"));
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user