forked from mirror/openmw-tes3mp
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 <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);
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue