Skip to content

Commit 31ef9ed

Browse files
committed
presenter: Additional log messages for QML init.
1 parent ee2735c commit 31ef9ed

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

libopenage/presenter/presenter.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,16 +158,19 @@ void Presenter::init_gui() {
158158
//// -- gui initialization
159159
// TODO: Do not use test GUI
160160
util::Path qml_root = this->root_dir / "assets" / "test" / "qml";
161+
log::log(INFO << "Presenter: Setting QML root to " << qml_root);
161162
if (not qml_root.is_dir()) {
162163
throw Error{ERR << "could not find qml root folder " << qml_root};
163164
}
164165

165166
util::Path qml_assets = this->root_dir / "assets";
167+
log::log(INFO << "Presenter: Setting QML asset path to " << qml_assets);
166168
if (not qml_assets.is_dir()) {
167169
throw Error{ERR << "could not find asset root folder " << qml_assets};
168170
}
169171

170172
util::Path qml_root_file = qml_root / "main.qml";
173+
log::log(INFO << "Presenter: Setting QML root file to " << qml_root_file);
171174
if (not qml_root_file.is_file()) {
172175
throw Error{ERR << "could not find main.qml file " << qml_root_file};
173176
}

0 commit comments

Comments
 (0)