@ -173,6 +173,10 @@ void GraphicsPage::setupOgre()
"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
{
mOgre = new Ogre::Root(pluginCfg.toStdString());
@ -1,7 +1,6 @@
#include <QApplication>
#include <QDir>
#include <QFile>
#include <QDebug>
#include "maindialog.hpp"
@ -25,10 +24,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());
app.setStyleSheet(styleSheet);