diff options
author | Gerald Combs <gerald@wireshark.org> | 2015-02-18 17:18:27 -0800 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2015-02-24 09:58:03 +0000 |
commit | 30ed6a1d72f1a231e5c6cb7993239e95cd3c6038 (patch) | |
tree | 265a38525864c2514e81e998b0949562f6d1c131 /cfile.h | |
parent | f9fc25241ca0c735c0945bebf04669f17c3ffbff (diff) |
Qt: Apply recent settings.
Add PacketList::applyRecentColumnWidths which set the packet list
column widths from our recent settings. Make sure it gets called at
startup and when we change profiles.
Save the packet list header state so that we can restore it when we
reset the model (i.e. freezing and thawing) and load a new capture file.
Save the state when the user resizes a column. As a side effect this
works around a weird bug that adjusts the width of column 1 at an
inopportune time.
Add a profileChanging signal so that we can save the main window geometry
in each profile.
Get rid of MainWindow::configurationProfileChanged. It was unused.
Apply saved pane widths and heights. Note that we might want to add a
separate pair of recent settings for the Qt panes.
Use the last opened directory in the capture file dialog.
Git rid of some unneeded Q_UNUSEDs while we're here.
Bug: 10953
Change-Id: I812aff59818cf0b4d1598b580627d32728d2e9d7
Reviewed-on: https://code.wireshark.org/review/7247
Reviewed-by: Michal Labedzki <michal.labedzki@tieto.com>
Tested-by: Michal Labedzki <michal.labedzki@tieto.com>
Petri-Dish: Michal Labedzki <michal.labedzki@tieto.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'cfile.h')
-rw-r--r-- | cfile.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -112,7 +112,7 @@ typedef struct _capture_file { guint32 first_displayed; /* Frame number of first frame displayed */ guint32 last_displayed; /* Frame number of last frame displayed */ column_info cinfo; /* Column formatting information */ - gboolean columns_changed; /**< Have the columns been changed in the prefs? */ + gboolean columns_changed; /**< Have the columns been changed in the prefs? (GTK+ only) */ frame_data *current_frame; /* Frame data for current frame */ gint current_row; /* Row number for current frame */ epan_dissect_t *edt; /* Protocol dissection for currently selected packet */ |