MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / errorDialog

Method errorDialog

Engine/AppManager.cpp:3436–3448  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3434}
3435
3436void
3437Dialogs::errorDialog(const std::string & title,
3438 const std::string & message,
3439 bool useHtml)
3440{
3441 appPTR->hideSplashScreen();
3442 AppInstancePtr topLvlInstance = appPTR->getTopLevelInstance();
3443 if ( topLvlInstance && !appPTR->isBackground() ) {
3444 topLvlInstance->errorDialog(title, message, useHtml);
3445 } else {
3446 std::cerr << "ERROR: " << title << ": " << message << std::endl;
3447 }
3448}
3449
3450void
3451Dialogs::errorDialog(const std::string & title,

Callers

nothing calls this directly

Calls 3

getTopLevelInstanceMethod · 0.80
hideSplashScreenMethod · 0.45
isBackgroundMethod · 0.45

Tested by

no test coverage detected