]> git.cworth.org Git - apitrace/blobdiff - gui/glsledit.cpp
trace: Unwrap all args before serializing them.
[apitrace] / gui / glsledit.cpp
index f0e461383ea733f3b391c328a336e3f20b008bb3..b73f0980bb103962b8d1c40e8e2763d489163318 100644 (file)
@@ -979,6 +979,12 @@ void GLSLEdit::indent()
     astyle.start("astyle");
     if (!astyle.waitForStarted()) {
         qDebug()<<"Couldn't start the 'astyle' process!";
+        QMessageBox::warning(this,
+                             tr("QApiTrace"),
+                             tr("QApiTrace could not locate the 'astyle'\n"
+                                "binary. Make sure 'astyle' is installed\n"
+                                "and in the PATH."),
+                             QMessageBox::Ok);
         return;
     }