shared_widget: Refactor helpers

Makes checkbox creation an option as opposed to a label.
This commit is contained in:
lat9nq
2023-06-09 16:53:26 -04:00
parent 4c4bc134a9
commit 4ff8255e4a
6 changed files with 277 additions and 243 deletions

View File

@ -77,8 +77,8 @@ private:
std::vector<QString> vulkan_devices;
std::vector<std::vector<VkPresentModeKHR>> device_present_modes;
std::vector<VkPresentModeKHR>
vsync_mode_combobox_enum_map; //< Keeps track of which present mode corresponds to which
// selection in the combobox
vsync_mode_combobox_enum_map{}; //< Keeps track of which present mode corresponds to which
// selection in the combobox
u32 vulkan_device{};
Settings::ShaderBackend shader_backend{};
const std::function<void()>& expose_compute_option;