| 650 | } |
| 651 | |
| 652 | void |
| 653 | GuiAppInstance::warningDialog(const std::string & title, |
| 654 | const std::string & message, |
| 655 | bool useHtml) const |
| 656 | { |
| 657 | appPTR->hideSplashScreen(); |
| 658 | { |
| 659 | QMutexLocker l(&_imp->_showingDialogMutex); |
| 660 | ++_imp->_showingDialog; |
| 661 | } |
| 662 | if (!_imp->_gui) { |
| 663 | return; |
| 664 | } |
| 665 | _imp->_gui->warningDialog(title, message, useHtml); |
| 666 | { |
| 667 | QMutexLocker l(&_imp->_showingDialogMutex); |
| 668 | --_imp->_showingDialog; |
| 669 | } |
| 670 | } |
| 671 | |
| 672 | void |
| 673 | GuiAppInstance::warningDialog(const std::string & title, |
nothing calls this directly
no test coverage detected