summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2015-11-22 21:22:32 +0100
committerAnders Broman <a.broman58@gmail.com>2015-11-24 06:05:55 +0000
commit9756c6605aa72883e0da00687d91ec50c0064f43 (patch)
treed3c7b1a1cfa3a991795ac75b6e48a0d485b88a33
parent1d60bcdae5cca062e1e9ade2cf041b61a6c28e5d (diff)
downloadwireshark-9756c6605aa72883e0da00687d91ec50c0064f43.tar.gz
Qt (Recent Files): Fix typo on variable name
Wrong variable (display field max) is updated when set max recent files Change-Id: Ie995192ffbf56cbf6bd9cea5b029ab16ff547d2f Ping-Bug:11748 Reviewed-on: https://code.wireshark.org/review/12046 Reviewed-by: Michael Mann <mmann78@netscape.net> (cherry picked from commit ac2008c46fe2c19b5f0e41492dedb49261d9bc8c) Reviewed-on: https://code.wireshark.org/review/12081 Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r--ui/qt/main_window_preferences_frame.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/main_window_preferences_frame.cpp b/ui/qt/main_window_preferences_frame.cpp
index a2b0d72eff..02a9348763 100644
--- a/ui/qt/main_window_preferences_frame.cpp
+++ b/ui/qt/main_window_preferences_frame.cpp
@@ -200,7 +200,7 @@ void MainWindowPreferencesFrame::on_maxFilterLineEdit_textEdited(const QString &
void MainWindowPreferencesFrame::on_maxRecentLineEdit_textEdited(const QString &new_max)
{
- pref_recent_df_entries_max_->stashed_val.uint = new_max.toUInt();
+ pref_recent_files_count_max_->stashed_val.uint = new_max.toUInt();
}
void MainWindowPreferencesFrame::on_confirmUnsavedCheckBox_toggled(bool checked)