diff --git a/tools/chatgui/src/stream_publish_window.cpp b/tools/chatgui/src/stream_publish_window.cpp index cb6f59f51..b016be380 100644 --- a/tools/chatgui/src/stream_publish_window.cpp +++ b/tools/chatgui/src/stream_publish_window.cpp @@ -157,7 +157,7 @@ StreamPublishWindow::StreamPublishWindow(StreamPublishEngine* engine, uint64_t g auto* layout = new QVBoxLayout(this); auto* controls = new QHBoxLayout; m_menuBar = new QMenuBar(this); m_menuBar->setNativeMenuBar(false); m_menuBar->setMouseTracking(true); - auto* menuStyle = new StreamMenuStyle; menuStyle->setParent(m_menuBar); m_menuBar->setStyle(menuStyle); + auto* menuStyle = new StreamMenuStyle; menuStyle->setParent(this); m_menuBar->setStyle(menuStyle); m_menuBar->setObjectName(QStringLiteral("streamControls")); m_menuBar->setStyleSheet("QMenuBar { background: transparent; } QMenuBar::item { padding: 3px; }"); auto makeMenu = [this](const char* heading, const char* name) { diff --git a/tools/chatgui/translations/chatgui_en.ts b/tools/chatgui/translations/chatgui_en.ts index 5575d37b1..c1d377973 100644 --- a/tools/chatgui/translations/chatgui_en.ts +++ b/tools/chatgui/translations/chatgui_en.ts @@ -154,6 +154,14 @@ Use CPU encoding instead? This may cause high CPU usage and slow down the comput Cannot read videoCannot read video Could not send the call commandCould not send the call command Video sourceVideo source + Video resolutionVideo resolution + Frame rateFrame rate + Original resolutionOriginal resolution + %1 fps%1 fps + Audio sourceAudio source + No audioNo audio + Turn stream audio onTurn stream audio on + Turn stream audio offTurn stream audio off Show mouse cursorShow mouse cursor Change cursor visibility before starting screen sharingChange cursor visibility before starting screen sharing Screen capture failed: %1Screen capture failed: %1