obs-studio/UI
gxalpha 7cd5ede1e0 UI: Initialize YoutubeChatDock chat input members in constructor
Currently, the chat input elements (lineEdit, sendButton, and
chatLayout) are initialized when the QCefWidget gets set. This is
problematic behavior that only happened to work because we're a bit
lucky: The chat is only enabled after a widget is set, and it's only set
once. Without those conditions, the chat dock would crash when enabling
the chat before a widget is set, and the elements would get recreated if
the widget is set a second time, resulting in the original elements not
getting freed and leaking.
Moving the element creation to the constructor fixes both of these
problems, as now they're created immediately and only once.

Detected by PVS-Studio.
2024-06-15 16:06:38 -07:00
..
cmake UI: Fix Qt platform override in CMake 3 2024-06-05 18:33:47 -04:00
data UI: Fix submenu arrow indicator position in menus 2024-06-14 14:43:40 -04:00
forms UI: Add unit suffix to Multitrack Video bitrate limit control 2024-06-14 14:42:03 -04:00
frontend-plugins Update translations from Crowdin 2024-06-07 09:47:58 +00:00
importers UI/importers: Ignore empty Streamlabs hotkeys 2023-08-12 22:31:01 -04:00
models UI: Add composition_gpu_index to multitrack video postdata 2024-06-14 20:08:26 -04:00
obs-frontend-api UI: Add chapter frontend API and hotkey 2024-05-26 23:11:48 +02:00
update UI: Add missing NULL check for skipUpdateVer 2023-10-17 11:17:07 -04:00
win-update/updater updater: Use static blake2 and fix building with Debug runtimes 2024-06-14 18:10:04 -04:00
xdg-data UI: Improve and update app metainfo file 2024-03-14 10:08:35 -03:00
absolute-slider.cpp UI: Fix audio meter and slider blocking mousewheel 2024-06-10 16:48:32 -04:00
absolute-slider.hpp UI: Remove unnecessary ProxyStyle usage 2024-05-23 18:55:43 -04:00
adv-audio-control.cpp UI: Change advanced audio controls to use audio_active 2024-04-16 15:48:42 -04:00
adv-audio-control.hpp UI: Change advanced audio controls to use audio_active 2024-04-16 15:48:42 -04:00
api-interface.cpp UI: Add eRTMP Multitrack Video Output 2024-06-04 20:50:46 -04:00
audio-encoders.cpp clang-format: Set AllowShortLambdasOnASingleLine to Inline 2023-07-15 16:14:55 -07:00
audio-encoders.hpp UI: Add Opus bitrate map and per encoder bitrate list 2023-03-19 17:27:43 +01:00
auth-base.cpp UI: Rework YouTube broadcast setup flow 2021-09-12 13:45:51 +02:00
auth-base.hpp clang-format: Set AllowAllConstructorInitializersOnNextLine to false 2023-07-15 16:14:55 -07:00
auth-listener.cpp UI: Fix AuthListener error HTTP response body 2021-09-16 15:03:28 +02:00
auth-listener.hpp UI: Properly verify state parameter for YouTube auth 2021-09-15 06:16:29 -07:00
auth-oauth.cpp clang-format: Set AllowAllConstructorInitializersOnNextLine to false 2023-07-15 16:14:55 -07:00
auth-oauth.hpp UI: Fix crash on macOS when closing OAUTH browser panel 2023-05-08 18:22:27 -04:00
auth-restream.cpp UI: Set browser dock title in constructor 2023-08-15 12:27:18 -04:00
auth-restream.hpp UI: Refactor integration and browser docks 2023-03-17 20:21:08 +11:00
auth-twitch.cpp UI: Set browser dock title in constructor 2023-08-15 12:27:18 -04:00
auth-twitch.hpp UI: Removed unused friend classes 2024-05-28 15:04:05 -04:00
auth-youtube.cpp UI: Initialize YoutubeChatDock chat input members in constructor 2024-06-15 16:06:38 -07:00
auth-youtube.hpp UI: Initialize YoutubeChatDock chat input members in constructor 2024-06-15 16:06:38 -07:00
balance-slider.hpp UI: Add ability to reset sliders when double clicked 2018-09-07 09:27:20 -05:00
basic-controls.cpp UI: Connect replay buffer stopping to signal instead of slot 2024-06-09 16:12:02 -04:00
basic-controls.hpp UI: Separate controls dock from the main window 2024-06-05 17:39:54 -04:00
clickable-label.hpp clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
CMakeLists.txt cmake,UI: Fix SOVERSION on Linux 2024-06-05 18:16:45 -04:00
context-bar-controls.cpp UI: Use existing path for file dialogs 2024-04-09 21:10:50 -04:00
context-bar-controls.hpp UI: Add application audio capture to toolbar 2022-07-23 17:41:34 -07:00
display-helpers.hpp Update copyrights/names 2023-05-20 01:31:18 -07:00
double-slider.cpp UI: Replace SIGNAL and SLOT macros in custom widgets 2023-07-21 13:16:04 +02:00
double-slider.hpp UI: Replace SIGNAL and SLOT macros in custom widgets 2023-07-21 13:16:04 +02:00
ffmpeg-utils.cpp UI: Add Hybrid MP4 to format selection 2024-05-26 23:11:48 +02:00
ffmpeg-utils.hpp UI: Refactor getting the default encoder for a format 2023-08-01 11:43:38 -07:00
focus-list.cpp UI: Remove Qt 5 ifdef guards and code 2023-07-12 13:22:13 -04:00
focus-list.hpp UI: Add ability to reorder filters by drag & drop 2023-06-21 15:33:48 -07:00
goliveapi-censoredjson.cpp UI: Add eRTMP Multitrack Video Output 2024-06-04 20:50:46 -04:00
goliveapi-censoredjson.hpp UI: Add eRTMP Multitrack Video Output 2024-06-04 20:50:46 -04:00
goliveapi-network.cpp UI: Add eRTMP Multitrack Video Output 2024-06-04 20:50:46 -04:00
goliveapi-network.hpp UI: Add eRTMP Multitrack Video Output 2024-06-04 20:50:46 -04:00
goliveapi-postdata.cpp UI: Add composition_gpu_index to multitrack video postdata 2024-06-14 20:08:26 -04:00
goliveapi-postdata.hpp UI: Add eRTMP Multitrack Video Output 2024-06-04 20:50:46 -04:00
horizontal-scroll-area.cpp UI: Add Vertical Mixer option 2018-05-19 00:17:58 -03:00
horizontal-scroll-area.hpp clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
hotkey-edit.cpp UI: Remove Qt 5 ifdef guards and code 2023-07-12 13:22:13 -04:00
hotkey-edit.hpp clang-format: Set AllowAllConstructorInitializersOnNextLine to false 2023-07-15 16:14:55 -07:00
item-widget-helpers.cpp Update copyrights/names 2023-05-20 01:31:18 -07:00
item-widget-helpers.hpp Update copyrights/names 2023-05-20 01:31:18 -07:00
lineedit-autoresize.cpp UI: Initialize max length of LineEditAutoResize in constructor 2024-06-15 16:06:38 -07:00
lineedit-autoresize.hpp UI: Add vertically expanding LineEdit Widget 2022-06-27 14:35:01 -04:00
log-viewer.cpp clang-format: Set AllowAllConstructorInitializersOnNextLine to false 2023-07-15 16:14:55 -07:00
log-viewer.hpp UI: Create Log Viewer window XML file, migrate code 2022-04-10 11:52:11 +10:00
media-controls.cpp UI: Rename MediaSlider to AbsoluteSlider 2024-05-23 18:55:43 -04:00
media-controls.hpp UI: Rename MediaSlider to AbsoluteSlider 2024-05-23 18:55:43 -04:00
menu-button.cpp UI: Fix Qt 6 position deprecations 2022-07-22 09:37:17 -04:00
menu-button.hpp clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
multitrack-video-error.cpp UI: Translate Multitrack Video error dialog buttons 2024-06-11 13:22:31 -04:00
multitrack-video-error.hpp UI: Add eRTMP Multitrack Video Output 2024-06-04 20:50:46 -04:00
multitrack-video-output.cpp UI: Change multitrack video configId 2024-06-14 20:08:26 -04:00
multitrack-video-output.hpp UI: Add eRTMP Multitrack Video Output 2024-06-04 20:50:46 -04:00
multiview.cpp UI: Calculate label position using height and border 2024-05-25 16:55:02 -07:00
multiview.hpp UI: Adjust multiview border size 2024-05-25 16:55:02 -07:00
mute-checkbox.hpp UI: Add unassigned indicator and warning to mixer 2023-03-25 16:08:25 -07:00
noncheckable-button.hpp UI: Separate controls dock from the main window 2024-06-05 17:39:54 -04:00
obf.c Update source code formatting with clang-format 17.0.3 2024-03-11 15:55:30 -04:00
obf.h UI: Add obfuscation func 2019-02-07 14:47:15 -08:00
obs-app-theming.cpp UI: Use unique_ptr for theme objects 2024-06-12 18:41:11 -04:00
obs-app-theming.hpp UI: Add composable themes feature 2024-04-21 00:01:16 -04:00
obs-app.cpp UI: Check VC++ Runtime version on startup 2024-06-10 16:51:50 -04:00
obs-app.hpp UI: Add composable themes feature 2024-04-21 00:01:16 -04:00
obs-proxy-style.cpp Revert "UI: Add workaround for Qt tooltip stylesheet bug" 2023-09-29 18:00:04 +02:00
obs-proxy-style.hpp UI: Enforce completely Fusion Qt style on Linux 2024-05-25 16:58:26 -07:00
obs.manifest UI: Remove unsupported Windows versions from manifest 2023-02-01 23:00:50 +01:00
obs.rc.in Update copyrights/names 2023-05-20 01:31:18 -07:00
plain-text-edit.cpp UI: Force fixed font in plain text edits 2022-08-22 17:26:50 -07:00
plain-text-edit.hpp UI: Force fixed font in plain text edits 2022-08-22 17:26:50 -07:00
platform-osx.mm UI: Add HighContrastEnabled() to platform utilities 2024-04-21 00:01:16 -04:00
platform-windows.cpp UI: Add HighContrastEnabled() to platform utilities 2024-04-21 00:01:16 -04:00
platform-x11.cpp UI: Add HighContrastEnabled implementation for Linux 2024-04-21 00:01:16 -04:00
platform.hpp UI: Add HighContrastEnabled() to platform utilities 2024-04-21 00:01:16 -04:00
properties-view.cpp UI: Improve macOS properties tooltip spacing workaround 2024-06-08 16:59:38 -07:00
properties-view.hpp UI: Add OBSPropertiesView::SetDisabled 2024-06-04 20:50:46 -04:00
properties-view.moc.hpp UI: Fix missing includes 2020-04-08 17:20:52 -07:00
qt-display.cpp UI: Fix memory leak in OBSQTDisplay 2023-08-17 11:46:28 -07:00
qt-display.hpp UI: Fix crash at render_display while shutdown on macOS 2023-08-15 13:40:09 +09:00
qt-helpers.cpp UI: Add eRTMP Multitrack Video Output 2024-06-04 20:50:46 -04:00
qt-helpers.hpp UI: Add eRTMP Multitrack Video Output 2024-06-04 20:50:46 -04:00
qt-wrappers.cpp UI: Address logging buffer size discrepancies 2024-06-07 17:38:06 +02:00
qt-wrappers.hpp UI: Remove SignalBlocker 2023-12-16 17:10:57 -06:00
remote-text.cpp clang-format: Set AllowShortLambdasOnASingleLine to Inline 2023-07-15 16:14:55 -07:00
remote-text.hpp Update copyrights/names 2023-05-20 01:31:18 -07:00
scene-tree.cpp UI: Remove Qt 5 ifdef guards and code 2023-07-12 13:22:13 -04:00
scene-tree.hpp UI: Remove workaround for current scene being deselectable on Qt 6.4.3+ 2023-02-11 16:01:27 -08:00
screenshot-obj.hpp Update copyrights/names 2023-05-20 01:31:18 -07:00
slider-ignorewheel.cpp UI: Move VolumeSlider widget to volume control 2024-05-23 18:55:43 -04:00
slider-ignorewheel.hpp UI: Move VolumeSlider widget to volume control 2024-05-23 18:55:43 -04:00
source-label.cpp clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
source-label.hpp UI: Fix warnings for Qt 5.15 2020-06-21 18:23:05 -07:00
source-tree.cpp UI: Use OBSSourceLabel for item widget labels 2024-05-11 17:35:04 -07:00
source-tree.hpp UI: Use OBSSourceLabel for item widget labels 2024-05-11 17:35:04 -07:00
spinbox-ignorewheel.cpp UI: Rename UI files for consistency 2019-04-21 04:10:46 -07:00
spinbox-ignorewheel.hpp UI: Rename UI files for consistency 2019-04-21 04:10:46 -07:00
system-info-macos.mm UI: Add eRTMP Multitrack Video Output 2024-06-04 20:50:46 -04:00
system-info-posix.cpp UI: Add eRTMP Multitrack Video Output 2024-06-04 20:50:46 -04:00
system-info-windows.cpp UI: Remove GPU LUID from system info for Multitrack Video 2024-06-06 14:02:21 -04:00
system-info.hpp UI: Add eRTMP Multitrack Video Output 2024-06-04 20:50:46 -04:00
ui-config.h.in UI: Fix Qt platform override in CMake 3 2024-06-05 18:33:47 -04:00
ui-validation.cpp UI: Use connect infos check in before stream check 2023-03-19 18:27:44 +01:00
ui-validation.hpp UI: Add Start Streaming settings check on start 2019-12-11 01:50:41 -08:00
undo-stack-obs.cpp UI: Optimize undo/redo functions with constant references 2022-01-19 21:39:43 +01:00
undo-stack-obs.hpp UI: Optimize undo/redo functions with constant references 2022-01-19 21:39:43 +01:00
url-push-button.cpp UI: Upgrade stream link hotlink to a button 2019-10-30 12:09:07 -07:00
url-push-button.hpp UI: Upgrade stream link hotlink to a button 2019-10-30 12:09:07 -07:00
vertical-scroll-area.cpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
vertical-scroll-area.hpp clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
visibility-item-widget.cpp UI: Use OBSSourceLabel for item widget labels 2024-05-11 17:35:04 -07:00
visibility-item-widget.hpp UI: Use OBSSourceLabel for item widget labels 2024-05-11 17:35:04 -07:00
volume-control.cpp UI: Center widgets in vertical mixer layout 2024-06-10 16:48:32 -04:00
volume-control.hpp UI: Update volume meter appearance 2024-06-03 17:20:21 -04:00
win-dll-blocklist.c UI: Block Elgato Stream Deck plugin before 5.5.2.0 to avoid crashes 2024-03-08 21:33:44 -05:00
window-basic-about.cpp UI: Fix Top Patron threshold 2024-04-13 16:42:33 -07:00
window-basic-about.hpp UI: Add Patreon contributors to About dialog 2019-05-05 20:00:26 -07:00
window-basic-adv-audio.cpp UI: Change advanced audio controls to use audio_active 2024-04-16 15:48:42 -04:00
window-basic-adv-audio.hpp UI: Change advanced audio controls to use audio_active 2024-04-16 15:48:42 -04:00
window-basic-auto-config-test.cpp UI: Add Multitrack Video support for auto config 2024-06-04 20:50:46 -04:00
window-basic-auto-config.cpp UI: Re-arrange multitrack-video schema to version 2024-06-04 2024-06-14 13:12:19 -04:00
window-basic-auto-config.hpp UI: Add Multitrack Video support for auto config 2024-06-04 20:50:46 -04:00
window-basic-filters.cpp UI: Fix filter undo action using UUID instead of name 2024-04-09 21:10:19 -04:00
window-basic-filters.hpp UI: Replace SIGNAL and SLOT macros in filters 2023-07-21 13:19:52 +02:00
window-basic-interaction.cpp UI: Remove Qt 5 ifdef guards and code 2023-07-12 13:22:13 -04:00
window-basic-interaction.hpp UI: Remove Qt 5 ifdef guards and code 2023-07-12 13:22:13 -04:00
window-basic-main-browser.cpp Update copyrights/names 2023-05-20 01:31:18 -07:00
window-basic-main-dropfiles.cpp Revert "UI: Support DnD overlay in linuxbrowser" 2023-08-24 15:20:36 -04:00
window-basic-main-icons.cpp libobs, UI: Add OBS_ICON_TYPE_PROCESS_AUDIO_OUTPUT 2022-07-23 17:41:34 -07:00
window-basic-main-outputs.cpp UI: Add config option to use MP4 for debug recording 2024-06-07 15:50:34 -04:00
window-basic-main-outputs.hpp UI: Add eRTMP Multitrack Video Output 2024-06-04 20:50:46 -04:00
window-basic-main-profiles.cpp UI: Create/Delete YouTube Dock when switching profiles 2023-09-06 21:50:12 -07:00
window-basic-main-scene-collections.cpp UI: Soft-delete scene collections 2023-07-08 16:39:03 -07:00
window-basic-main-screenshot.cpp UI: Use normal source width for screenshots 2024-01-06 18:32:25 -06:00
window-basic-main-transitions.cpp UI: Add null checks before doing some API calls 2024-06-08 15:25:04 -04:00
window-basic-main.cpp UI: Always show chapter marker hotkey 2024-06-08 17:03:09 -07:00
window-basic-main.hpp UI: Separate controls dock from the main window 2024-06-05 17:39:54 -04:00
window-basic-preview.cpp UI: Add null checks before doing some API calls 2024-06-08 15:25:04 -04:00
window-basic-preview.hpp UI: Limit preview scrolling 2023-03-11 15:22:23 -08:00
window-basic-properties.cpp UI: Fix double confirmation dialog while discarding source change 2024-04-13 16:54:32 -07:00
window-basic-properties.hpp UI: Remove Qt 5 ifdef guards and code 2023-07-12 13:22:13 -04:00
window-basic-settings-a11y.cpp UI: Set loading to true when loading accessibility settings 2023-08-11 21:10:11 -04:00
window-basic-settings-appearance.cpp UI: Add composable themes feature 2024-04-21 00:01:16 -04:00
window-basic-settings-stream.cpp UI: Enable custom server entry for Amazon IVS 2024-06-06 16:09:24 -04:00
window-basic-settings.cpp UI: Hide multitrack video options for custom output 2024-06-14 17:39:11 -04:00
window-basic-settings.hpp UI: Add Multitrack Video settings 2024-06-04 20:50:46 -04:00
window-basic-source-select.cpp libobs: Fix crop to bounds ABI break 2024-02-20 21:18:51 -06:00
window-basic-source-select.hpp Update copyrights/names 2023-05-20 01:31:18 -07:00
window-basic-stats.cpp UI: Switch to bigger units for high bitrate/large recordings 2024-01-13 17:57:26 -06:00
window-basic-stats.hpp UI: Fix stats widget appearance on Yami themes 2022-10-19 15:02:25 -04:00
window-basic-status-bar.cpp UI: Make status bar record output a weak ref 2024-06-03 17:00:12 -04:00
window-basic-status-bar.hpp UI: Make status bar record output a weak ref 2024-06-03 17:00:12 -04:00
window-basic-transform.cpp UI: Fix Qt 6.7 checkbox signal deprecations 2024-05-28 16:29:26 -04:00
window-basic-transform.hpp UI: Use vector for signals in source tree/transform 2024-02-03 17:19:51 -06:00
window-basic-vcam-config.cpp UI: Replace SIGNAL and SLOT macros in window-basic-main 2023-07-21 13:19:50 +02:00
window-basic-vcam-config.hpp UI: Use main video on the virtual camera if program 2023-05-30 16:16:07 -07:00
window-basic-vcam.hpp UI,plugin: Refactor virtual camera enablement 2024-03-30 16:43:30 -07:00
window-dock-browser.cpp UI: Store dock titles in BrowserDock instead of relying on Qt 2023-08-15 12:27:18 -04:00
window-dock-browser.hpp UI: Store dock titles in BrowserDock instead of relying on Qt 2023-08-15 12:27:18 -04:00
window-dock-youtube-app.cpp UI: Initialize YouTubeAppDock synchronously to fix Qt runloop issues 2023-10-08 02:00:38 +02:00
window-dock-youtube-app.hpp UI: Set browser dock title in constructor 2023-08-15 12:27:18 -04:00
window-dock.cpp UI: Fix closing OBS with floating docks 2024-03-11 20:38:04 -04:00
window-dock.hpp UI: Store dock titles in BrowserDock instead of relying on Qt 2023-08-15 12:27:18 -04:00
window-extra-browsers.cpp UI: Use std::shared_ptr instead of QSharedPointer 2023-10-04 18:36:20 -04:00
window-extra-browsers.hpp clang-format: Set AllowAllConstructorInitializersOnNextLine to false 2023-07-15 16:14:55 -07:00
window-importer.cpp UI: Replace SIGNAL and SLOT macros in importer 2023-07-21 13:19:52 +02:00
window-importer.hpp UI: Add advanced scene collection importer 2020-02-16 17:56:06 +13:00
window-log-reply.cpp clang-format: Set AllowAllConstructorInitializersOnNextLine to false 2023-07-15 16:14:55 -07:00
window-log-reply.hpp Update copyrights/names 2023-05-20 01:31:18 -07:00
window-main.hpp clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
window-missing-files.cpp UI: Replace SIGNAL and SLOT macros in missing files 2023-07-21 13:16:04 +02:00
window-missing-files.hpp UI: Add missing files dialog 2021-01-17 10:31:59 +13:00
window-namedialog.cpp Update copyrights/names 2023-05-20 01:31:18 -07:00
window-namedialog.hpp Update copyrights/names 2023-05-20 01:31:18 -07:00
window-permissions.cpp clang-format: Set AllowAllConstructorInitializersOnNextLine to false 2023-07-15 16:14:55 -07:00
window-permissions.hpp Update copyrights/names 2023-05-20 01:31:18 -07:00
window-projector.cpp UI: Move projector rename signal 2024-05-11 17:51:47 -07:00
window-projector.hpp UI: Move projector rename signal 2024-05-11 17:51:47 -07:00
window-remux.cpp UI: Fix Remux window only being usable once 2024-02-22 00:05:58 -06:00
window-remux.hpp clang-format: Set AllowAllConstructorInitializersOnNextLine to false 2023-07-15 16:14:55 -07:00
window-youtube-actions.cpp UI: Fix Qt 6.7 checkbox signal deprecations 2024-05-28 16:29:26 -04:00
window-youtube-actions.hpp UI: Add "YouTube Control Panel" dock panel 2023-08-02 17:49:05 -07:00
youtube-api-wrappers.cpp UI: Increase YouTube API timeout 2023-09-05 10:06:18 -04:00
youtube-api-wrappers.hpp UI: Add "YouTube Control Panel" dock panel 2023-08-02 17:49:05 -07:00