Skip to content
  • Gerald Combs's avatar
    Qt: Print qDebug messages by default. · f2036f0f
    Gerald Combs authored and Roland Knall's avatar Roland Knall committed
    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: default avatarGerald Combs <gerald@wireshark.org>
    Petri-Dish: Gerald Combs <gerald@wireshark.org>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: default avatarRoland Knall <rknall@gmail.com>
    f2036f0f