From 1b536d69f359c571ce0170ea84164b57274e917f Mon Sep 17 00:00:00 2001 From: Pieter van der Kloet Date: Sat, 30 Jul 2011 19:19:24 +0200 Subject: [PATCH] Added and removed some debugging information --- apps/launcher/main.cpp | 5 +++++ apps/launcher/maindialog.cpp | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) 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