Commit 52380b67 authored by Isaak Lim's avatar Isaak Lim

also kill the splash screen on critical messages

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@17616 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 72b042c8
......@@ -1915,13 +1915,13 @@ bool Core::checkOpenGLCapabilities() {
std::cerr << message.toStdString() << std::endl;
finishSplash();
QMessageBox::StandardButton button = StaysOnTopMessageBox::critical ( 0, tr( "Insufficient OpenGL Capabilities!"),message,QMessageBox::Abort|QMessageBox::Ignore , QMessageBox::Abort);
// Unsafe operation, so quit the application
if ( button == QMessageBox::Abort )
exitFailure();
else {
finishSplash();
StaysOnTopMessageBox::warning(0,tr( "Insufficient OpenGL Capabilities!"),tr("Ignoring OpenGL capabilities might lead to unstable Operation! Do it at your own risk!"));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment