| 609 | } |
| 610 | |
| 611 | void |
| 612 | GuiAppInstance::errorDialog(const std::string & title, |
| 613 | const std::string & message, |
| 614 | bool useHtml) const |
| 615 | { |
| 616 | appPTR->hideSplashScreen(); |
| 617 | { |
| 618 | QMutexLocker l(&_imp->_showingDialogMutex); |
| 619 | ++_imp->_showingDialog; |
| 620 | } |
| 621 | if (!_imp->_gui) { |
| 622 | return; |
| 623 | } |
| 624 | _imp->_gui->errorDialog(title, message, useHtml); |
| 625 | { |
| 626 | QMutexLocker l(&_imp->_showingDialogMutex); |
| 627 | --_imp->_showingDialog; |
| 628 | } |
| 629 | } |
| 630 | |
| 631 | void |
| 632 | GuiAppInstance::errorDialog(const std::string & title, |
nothing calls this directly
no test coverage detected