Added and removed some debugging information

This commit is contained in:
Pieter van der Kloet 2011-07-30 19:19:24 +02:00
parent 18d8d89bdb
commit 1b536d69f3
2 changed files with 5 additions and 2 deletions

View file

@ -1,6 +1,7 @@
#include <QApplication>
#include <QDir>
#include <QFile>
#include <QDebug>
#include "maindialog.hpp"
@ -24,6 +25,10 @@ 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);

View file

@ -277,8 +277,6 @@ void MainDialog::setupConfig()
"openmw", "openmw.cfg"));
}
file.setFileName(config); // Just for displaying information
qDebug() << "Using config file from " << file.fileName();
file.close();
// Open our config file