mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-04 03:40:14 +00:00
Disabled Ogre debug output to stdout/stderr
This commit is contained in:
parent
3fb99fa4b5
commit
8c4a246abd
@ -172,6 +172,10 @@ void GraphicsPage::setupOgre()
|
||||
pluginCfg = QString::fromStdString(Files::getPath(Files::Path_ConfigUser,
|
||||
"openmw", "plugins.cfg"));
|
||||
}
|
||||
|
||||
// Create a log manager so we can surpress debug text to stdout/stderr
|
||||
Ogre::LogManager* logMgr = OGRE_NEW Ogre::LogManager;
|
||||
logMgr->createLog("Ogre.log", true, false, false);
|
||||
|
||||
try
|
||||
{
|
||||
|
@ -1,7 +1,6 @@
|
||||
#include <QApplication>
|
||||
#include <QDir>
|
||||
#include <QFile>
|
||||
#include <QDebug>
|
||||
|
||||
#include "maindialog.hpp"
|
||||
|
||||
@ -24,10 +23,6 @@ int main(int argc, char *argv[])
|
||||
|
||||
// Load the stylesheet
|
||||
QFile file("./launcher.qss");
|
||||
|
||||
QFileInfo fi(file);
|
||||
|
||||
qDebug() << "Stylesheet path is: " << fi.absoluteFilePath();
|
||||
|
||||
file.open(QFile::ReadOnly);
|
||||
QString styleSheet = QLatin1String(file.readAll());
|
||||
|
Loading…
x
Reference in New Issue
Block a user