mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2025-01-13 05:31:44 +00:00
GUI: only set QT_MESSAGE_PATTERN if it isn't set
This commit is contained in:
parent
9a60f4be24
commit
51ae8b4308
@ -46,7 +46,7 @@ enableOrDisableHighDPIScaling() {
|
||||
void
|
||||
initiateSettings() {
|
||||
#if defined(SYS_WINDOWS)
|
||||
if (mtx::sys::get_environment_variable("").empty())
|
||||
if (mtx::sys::get_environment_variable("QT_MESSAGE_PATTERN").empty())
|
||||
mtx::sys::set_environment_variable("QT_MESSAGE_PATTERN", "[%{type}] %{appname} (%{file}:%{line}) - %{message}");
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user