Wireshark-commits: [Wireshark-commits] master f2036f0: Qt: Print qDebug messages by default.
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 03 Nov 2019 17:45:42 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=f2036f0fbda63fadb980aba8b0def53771af8a0e
Submitter: "Roland Knall <rknall@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

f2036f0 by Gerald Combs (gerald@xxxxxxxxxxxxx):

    Qt: Print qDebug messages by default.
    
    We handle Qt and GLib logging in the same handler, which means that if
    we map qDebug messages to G_LOG_LEVEL_DEBUG they won't be printed by
    default. This can make debugging the UI more confusing, since sprinkling
    in qDebug()s is a common Qt debugging method. If you're focused on
    fixing a bug it's easy to forget that you need to use qWarning() or
    change the logging level preference instead.
    
    Set the log level for qDebug messages to G_LOG_LEVEL_WARNING so that
    they show up.
    
    Change-Id: I4336b001cb667a31bf8b25306cd34e758cc8967e
    Reviewed-on: https://code.wireshark.org/review/34937
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Roland Knall <rknall@xxxxxxxxx>
    

Actions performed:

    from  26504a0   snort: fix alert rule parsing
     add  f2036f0   Qt: Print qDebug messages by default.


Summary of changes:
 ui/qt/main.cpp | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)