Connect the all-streams window to chat actions and service lifetime
This commit is contained in:
1 parent
bad9ee3a0c
commit
fd05ec47ab
3 files changed
+19
-2
No files matched your search
@@ -539,7 +539,7 @@ MessageList::MessageList(DbManager* db, AudioRecorder* recorder, QWidget *parent
|
||||
if (!channel.toULongLong()) return;
|
||||
auto text = [](const char* s) { return QCoreApplication::translate("ChatGui", s); };
|
||||
QMenu menu(this);
|
||||
const bool own = std::any_of(m_streamSources.begin(), m_streamSources.end(), [](const LiveSource& source) { return source.self; });
|
||||
const bool own = std::any_of(m_streamSources.begin(), m_streamSources.end(), [](const LiveStreamSource& source) { return source.self; });
|
||||
auto* publish = menu.addAction(text(own ? "Manage stream" : "Start stream"));
|
||||
menu.addSeparator();
|
||||
auto* files = menu.addAction(text("Group files"));
|
||||
|
||||
Reference in new issue
Block a user