MCPcopy Create free account
hub / github.com/LunarG/VulkanTools / GetStandardButtons

Method GetStandardButtons

vkconfig_core/message.cpp:25–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23#include "setting_flags.h"
24
25QMessageBox::StandardButtons Message::GetStandardButtons() const {
26 QMessageBox::StandardButtons buttons = QMessageBox::NoButton;
27
28 for (std::size_t i = 0, n = this->actions.size(); i < n; ++i) {
29 buttons |= GetStandardButton(this->actions[i].type);
30 }
31
32 return buttons;
33}
34
35bool Message::Triggered(const SettingDataSet& data_set) const {
36 bool result = true;

Callers 1

CheckMessageFunction · 0.80

Calls 1

GetStandardButtonFunction · 0.85

Tested by

no test coverage detected