mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2025-01-12 13:14:38 +00:00
GUI: Windows: set verbose message format for qDebug() messages
This commit is contained in:
parent
943fefe237
commit
ba608ed5e0
3
NEWS.md
3
NEWS.md
@ -12,6 +12,9 @@
|
||||
* mkvmerge: mkvmerge has never supported appending & splitting FLAC audio
|
||||
tracks. mkvmerge will now emit error messages when the user attempts either
|
||||
instead of continuing and creating invalid FLAC tracks.
|
||||
* MKVToolNix GUI: Windows: debug output sent via Qt's to Windows' debugging
|
||||
facility will use a more verbose message format including the application
|
||||
name, making it easier to filter for in SysInternal's "Debug View" utility.
|
||||
|
||||
## Bug fixes
|
||||
|
||||
|
@ -34,6 +34,11 @@ enableOrDisableHighDPIScaling() {
|
||||
|
||||
void
|
||||
initiateSettings() {
|
||||
#if defined(SYS_WINDOWS)
|
||||
if (mtx::sys::get_environment_variable("").empty())
|
||||
mtx::sys::set_environment_variable("QT_MESSAGE_PATTERN", "[%{type}] %{appname} (%{file}:%{line}) - %{message}");
|
||||
#endif
|
||||
|
||||
QCoreApplication::setOrganizationName("bunkus.org");
|
||||
QCoreApplication::setOrganizationDomain("bunkus.org");
|
||||
QCoreApplication::setApplicationName("mkvtoolnix-gui");
|
||||
|
Loading…
Reference in New Issue
Block a user