Fix sizing of qtshark based on the saved (recent) geometry.
Do this by emitting the StaticRecentFilesRead signal after reading the static portion of the recent file. Unfortunately this results in the main window appearing in one size and then resizing to the saved size but I haven't figured out how to fix that yet. At the very least this prevents qtshark's default geometry from being saved to my recent file and affecting wireshark-gtk's geometry. Change-Id: I47b66078a9d00cb321badc744f1337ff39ca42a7 Reviewed-on: https://code.wireshark.org/review/4177 Reviewed-by: Evan Huus <eapache@gmail.com>
This commit is contained in:
parent
845e5e5c98
commit
2cd9784f10
@ -817,6 +817,7 @@ int main(int argc, char *argv[])
|
||||
"Could not open recent file\n\"%s\": %s.",
|
||||
rf_path, g_strerror(rf_open_errno));
|
||||
}
|
||||
wsApp->emitAppSignal(WiresharkApplication::StaticRecentFilesRead);
|
||||
|
||||
if (recent.gui_fileopen_remembered_dir &&
|
||||
test_for_directory(recent.gui_fileopen_remembered_dir) == EISDIR) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user