| 3434 | } |
| 3435 | |
| 3436 | void |
| 3437 | Dialogs::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 | |
| 3450 | void |
| 3451 | Dialogs::errorDialog(const std::string & title, |
nothing calls this directly
no test coverage detected