diff options
author | Gerald Combs <gerald@wireshark.org> | 2016-01-08 11:43:19 -0800 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2016-01-08 21:44:48 +0000 |
commit | 308b653da2afd05f62b944dda965d45650b23cf4 (patch) | |
tree | 314b06686eb1bb4ed4c23831d93c07564154bc2d /ui/qt | |
parent | cd7026951b2354cb633b51cd82d6de0a0f622f00 (diff) |
Qt: Queue up redissection.
Make the WiresharkApplication::packetDissectionChanged →
MainWindow::redissectPackets connection queued rather than direct.
redissectPackets eventually calls update_progress_dlg, which processes
UI events.
This should keep the profile dialog from destroying itself prematurely
in a nested event loop when the user hits "OK".
Bug: 11979
Change-Id: I7276e08c1911708c3aca5ff05ab6a40bfc336add
Reviewed-on: https://code.wireshark.org/review/13134
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt')
-rw-r--r-- | ui/qt/main_window.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/main_window.cpp b/ui/qt/main_window.cpp index 775babf8be..af44e2b6bc 100644 --- a/ui/qt/main_window.cpp +++ b/ui/qt/main_window.cpp @@ -466,7 +466,7 @@ MainWindow::MainWindow(QWidget *parent) : connect(wsApp, SIGNAL(recentFilesRead()), this, SLOT(updateRecentActions())); connect(wsApp, SIGNAL(packetDissectionChanged()), - this, SLOT(redissectPackets())); + this, SLOT(redissectPackets()), Qt::QueuedConnection); connect(wsApp, SIGNAL(appInitialized()), this, SLOT(filterExpressionsChanged())); connect(wsApp, SIGNAL(filterExpressionsChanged()), |