From 8897ea8ac1132aec415012f533758fbe6e5c899f Mon Sep 17 00:00:00 2001 From: heinezen Date: Sat, 7 Oct 2023 23:15:39 +0200 Subject: [PATCH] presenter: Additional log messages for QML init. --- libopenage/presenter/presenter.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libopenage/presenter/presenter.cpp b/libopenage/presenter/presenter.cpp index ab0f3b1f25..630d8ab0cb 100644 --- a/libopenage/presenter/presenter.cpp +++ b/libopenage/presenter/presenter.cpp @@ -158,16 +158,19 @@ void Presenter::init_gui() { //// -- gui initialization // TODO: Do not use test GUI util::Path qml_root = this->root_dir / "assets" / "test" / "qml"; + log::log(INFO << "Presenter: Setting QML root to " << qml_root); if (not qml_root.is_dir()) { throw Error{ERR << "could not find qml root folder " << qml_root}; } util::Path qml_assets = this->root_dir / "assets"; + log::log(INFO << "Presenter: Setting QML asset path to " << qml_assets); if (not qml_assets.is_dir()) { throw Error{ERR << "could not find asset root folder " << qml_assets}; } util::Path qml_root_file = qml_root / "main.qml"; + log::log(INFO << "Presenter: Setting QML root file to " << qml_root_file); if (not qml_root_file.is_file()) { throw Error{ERR << "could not find main.qml file " << qml_root_file}; }