| 3463 | } |
| 3464 | |
| 3465 | void |
| 3466 | Dialogs::warningDialog(const std::string & title, |
| 3467 | const std::string & message, |
| 3468 | bool useHtml) |
| 3469 | { |
| 3470 | appPTR->hideSplashScreen(); |
| 3471 | AppInstancePtr topLvlInstance = appPTR->getTopLevelInstance(); |
| 3472 | if ( topLvlInstance && !appPTR->isBackground() ) { |
| 3473 | topLvlInstance->warningDialog(title, message, useHtml); |
| 3474 | } else { |
| 3475 | std::cerr << "WARNING: " << title << ": " << message << std::endl; |
| 3476 | } |
| 3477 | } |
| 3478 | |
| 3479 | void |
| 3480 | Dialogs::warningDialog(const std::string & title, |
nothing calls this directly
no test coverage detected