MCPcopy Create free account
hub / github.com/SpartanJ/eepp / errorMsgBox

Method errorMsgBox

src/tools/ecode/ecode.cpp:3497–3502  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3495}
3496
3497UIMessageBox* App::errorMsgBox( const String& msg ) {
3498 UIMessageBox* msgBox = UIMessageBox::New( UIMessageBox::OK, msg );
3499 msgBox->setTitle( i18n( "error", "Error" ) );
3500 msgBox->showWhenReady();
3501 return msgBox;
3502}
3503
3504UIMessageBox* App::fileAlreadyExistsMsgBox() {
3505 return errorMsgBox( i18n( "file_already_exists", "File already exists!" ) );

Callers 3

createProjectTreeMenuMethod · 0.80
deleteFileDialogMethod · 0.80

Calls 3

showWhenReadyMethod · 0.80
NewFunction · 0.50
setTitleMethod · 0.45

Tested by

no test coverage detected