UI: Add item widget helper functions
These functions are designed to manually delete item widgets within other widgets to prevent ->deleteLater from being called on them. This prevents the item widgets from being stuck in the event queue, and prevents references to things like sources from being stuck in the event queue along with them if they're used in the item widget's class or functions.
This commit is contained in:
@@ -114,6 +114,7 @@ set(obs_SOURCES
|
||||
double-slider.cpp
|
||||
volume-control.cpp
|
||||
adv-audio-control.cpp
|
||||
item-widget-helpers.cpp
|
||||
visibility-checkbox.cpp
|
||||
vertical-scroll-area.cpp
|
||||
visibility-item-widget.cpp
|
||||
@@ -152,6 +153,7 @@ set(obs_HEADERS
|
||||
mute-checkbox.hpp
|
||||
volume-control.hpp
|
||||
adv-audio-control.hpp
|
||||
item-widget-helpers.hpp
|
||||
visibility-checkbox.hpp
|
||||
vertical-scroll-area.hpp
|
||||
visibility-item-widget.hpp
|
||||
|
Reference in New Issue
Block a user