qt: Reword some error messages slightly

This commit is contained in:
Alexander Babikov
2025-04-08 15:29:07 +05:00
parent 377381a8fa
commit 0a2d15db9b
6 changed files with 6 additions and 6 deletions

View File

@@ -214,7 +214,7 @@ static glslp_t *glsl_parse(const char *f) {
strcpy(shader->shader_fn, f);
shader->shader_program = load_file(f);
if (!shader->shader_program) {
QMessageBox::critical((QWidget *) qApp->findChild<QWindow *>(), QObject::tr("GLSL error"), QObject::tr("Could not load shader %1").arg(shader->shader_fn));
QMessageBox::critical((QWidget *) qApp->findChild<QWindow *>(), QObject::tr("GLSL error"), QObject::tr("Could not load shader: %1").arg(shader->shader_fn));
//wx_simple_messagebox("GLSL error", "Could not load shader %s\n", shader->shader_fn);
glslp_free(glslp);
return 0;