MCPcopy Create free account
hub / github.com/Tom94/tev / showErrorDialog

Method showErrorDialog

src/ImageViewer.cpp:2644–2650  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2642}
2643
2644void ImageViewer::showErrorDialog(string_view message, bool logToConsole) {
2645 if (logToConsole) {
2646 tlog::error(message);
2647 }
2648
2649 new ErrorDialog(this, MessageDialog::Type::Warning, "Error", message, "OK", "Cancel", false, (int)(m_size.x() * 0.75f), (int)(m_size.y() * 0.75f));
2650}
2651
2652chroma_t ImageViewer::inspectionChroma() const {
2653 TEV_ASSERT(mInspectionPrimariesBoxes.size() == 8, "Expected 8 color space primary boxes.");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected