UI: Set browser dock title in constructor
Works around a bug in Qt where setWindowTitle called on a native window that hasn't been initialised yet causes the title data to be lost, resulting in the window's title never being set.
This commit is contained in:
parent
c7cba7f803
commit
7d9f8e7cac
10 changed files with 27 additions and 20 deletions
|
|
@ -2199,7 +2199,7 @@ void OBSBasic::OBSInit()
|
|||
#ifdef YOUTUBE_ENABLED
|
||||
/* setup YouTube app dock */
|
||||
if (YouTubeAppDock::IsYTServiceSelected())
|
||||
youtubeAppDock = new YouTubeAppDock();
|
||||
NewYouTubeAppDock();
|
||||
#endif
|
||||
|
||||
const char *dockStateStr = config_get_string(
|
||||
|
|
@ -8517,7 +8517,7 @@ void OBSBasic::NewYouTubeAppDock()
|
|||
if (youtubeAppDock)
|
||||
RemoveDockWidget(youtubeAppDock->objectName());
|
||||
|
||||
youtubeAppDock = new YouTubeAppDock();
|
||||
youtubeAppDock = new YouTubeAppDock("YouTube Live Control Panel");
|
||||
}
|
||||
|
||||
void OBSBasic::DeleteYouTubeAppDock()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue