OSSystems / qt-kiosk-browser

Provides a simple but highly configurable browser for use on Kiosk devices
GNU General Public License v3.0
16 stars 13 forks source link

Error out when the provided configuration file doesn't exist #8

Open vivien opened 2 years ago

vivien commented 2 years ago

Currently qt-kiosk-browser silently falls back to the built-in URL value if it fails to load the configuration file passed as argument like this:

qt-kiosk-browser sdflkjsdflkjsdflkj

This can lead to unwanted behavior like this, thus qt-kiosk-browser must error out with an explicit message if it fails to load the user provided configuration file.

otavio commented 2 years ago

Can you prepare a PR for this?