mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 21:53:51 +00:00
Modified Ogre exception handling to get rid of a compiler warning
This commit is contained in:
parent
1b536d69f3
commit
3fb99fa4b5
1 changed files with 1 additions and 2 deletions
|
@ -190,8 +190,7 @@ void GraphicsPage::setupOgre()
|
|||
msgBox.setDetailedText(ogreError);
|
||||
msgBox.exec();
|
||||
|
||||
QString error = QString("Error creating Ogre::Root, the error reported was: %0").arg(ogreError);
|
||||
qCritical(error.toAscii());
|
||||
qCritical("Error creating Ogre::Root, the error reported was:\n %s", qPrintable(ogreError));
|
||||
|
||||
std::exit(1);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue