qt: Add fallback to default shader on load
This commit is contained in:
@@ -74,7 +74,7 @@ OpenGLOptionsDialog::accept()
|
||||
else
|
||||
options->addDefaultShader();
|
||||
|
||||
} catch (std::runtime_error &e) {
|
||||
} catch (const std::runtime_error &e) {
|
||||
delete options;
|
||||
|
||||
QMessageBox msgBox(this);
|
||||
|
||||
Reference in New Issue
Block a user