diff --git a/apps/launcher/main.cpp b/apps/launcher/main.cpp index 4e438a4db1..c89a14f5fd 100644 --- a/apps/launcher/main.cpp +++ b/apps/launcher/main.cpp @@ -1,6 +1,7 @@ #include #include #include +#include #include "maindialog.hpp" @@ -23,6 +24,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()); diff --git a/apps/launcher/maindialog.cpp b/apps/launcher/maindialog.cpp index f697bf12b8..f51b3b5497 100644 --- a/apps/launcher/maindialog.cpp +++ b/apps/launcher/maindialog.cpp @@ -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