mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 06:53:53 +00:00
Added and removed some debugging information
This commit is contained in:
parent
18d8d89bdb
commit
1b536d69f3
2 changed files with 5 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
#include <QDir>
|
#include <QDir>
|
||||||
#include <QFile>
|
#include <QFile>
|
||||||
|
#include <QDebug>
|
||||||
|
|
||||||
#include "maindialog.hpp"
|
#include "maindialog.hpp"
|
||||||
|
|
||||||
|
@ -24,6 +25,10 @@ int main(int argc, char *argv[])
|
||||||
// Load the stylesheet
|
// Load the stylesheet
|
||||||
QFile file("./launcher.qss");
|
QFile file("./launcher.qss");
|
||||||
|
|
||||||
|
QFileInfo fi(file);
|
||||||
|
|
||||||
|
qDebug() << "Stylesheet path is: " << fi.absoluteFilePath();
|
||||||
|
|
||||||
file.open(QFile::ReadOnly);
|
file.open(QFile::ReadOnly);
|
||||||
QString styleSheet = QLatin1String(file.readAll());
|
QString styleSheet = QLatin1String(file.readAll());
|
||||||
app.setStyleSheet(styleSheet);
|
app.setStyleSheet(styleSheet);
|
||||||
|
|
|
@ -277,8 +277,6 @@ void MainDialog::setupConfig()
|
||||||
"openmw", "openmw.cfg"));
|
"openmw", "openmw.cfg"));
|
||||||
}
|
}
|
||||||
|
|
||||||
file.setFileName(config); // Just for displaying information
|
|
||||||
qDebug() << "Using config file from " << file.fileName();
|
|
||||||
file.close();
|
file.close();
|
||||||
|
|
||||||
// Open our config file
|
// Open our config file
|
||||||
|
|
Loading…
Reference in a new issue