Wireshark-commits: [Wireshark-commits] master-2.0 693d928: Update the taskbar icon when we start a

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 29 Oct 2015 20:50:40 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=693d928f88d78137bba2de8c20662e017fffc6f2
Submitter: Gerald Combs (gerald@xxxxxxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark

Commits:

693d928 by Gerald Combs (gerald@xxxxxxxxxxxxx):

    Update the taskbar icon when we start a capture.
    
    Call both QMainWindow::setWindowIcon and QGuiApplication::setWindowIcon
    when we switch between normal and capture icons. The former sets the
    window title bar icon and the latter (depending on your OS and Qt version)
    sets the taskbar or dock icon.
    
    Change-Id: Ida523d423bef4df44696f6cd75208986c8787d0f
    Reviewed-on: https://code.wireshark.org/review/11414
    Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Reviewed-by: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    (cherry picked from commit 81bf8edc52f1c8df557bbf4102182bcae93e0a4d)
    Reviewed-on: https://code.wireshark.org/review/11417
    

Actions performed:

    from  1c6f4bd   Qt: Add the ability to add filter expressions.
    adds  693d928   Update the taskbar icon when we start a capture.


Summary of changes:
 ui/qt/main_window.cpp |    5 +++++
 ui/qt/main_window.h   |    1 +
 2 files changed, 6 insertions(+)