diff options
author | Gerald Combs <gerald@zing.org> | 2014-12-20 14:11:31 -0800 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2014-12-20 22:18:09 +0000 |
commit | ac69a6d1fa7a830a3e1b8b7d4ef8604c4e8285ed (patch) | |
tree | 9147abf748d1250162aad9f0f476b737ca4e07e3 /ui/qt/main_welcome.cpp | |
parent | d11e94b9dcafb559046a37d6ef26c364844943f9 (diff) |
Qt: Use an accordion frame in the welcome screen.
Place the recent files list in an accordion frame so that showing and
hiding is more visually smooth.
Change-Id: Ifdc534a33aa9f93949c9f919cfe0765fbfcde750
Reviewed-on: https://code.wireshark.org/review/5924
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/main_welcome.cpp')
-rw-r--r-- | ui/qt/main_welcome.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/qt/main_welcome.cpp b/ui/qt/main_welcome.cpp index 9fac3df8db..58c023b42f 100644 --- a/ui/qt/main_welcome.cpp +++ b/ui/qt/main_welcome.cpp @@ -199,8 +199,7 @@ void MainWelcome::updateRecentFiles() { while (recent_files_->count() > (int) prefs.gui_recent_files_count_max) { recent_files_->takeItem(recent_files_->count()); } - welcome_ui_->recentLabel->setVisible(recent_files_->count() > 0); - welcome_ui_->recentList->setVisible(recent_files_->count() > 0); + welcome_ui_->openFrame->setVisible(recent_files_->count() > 0); } void MainWelcome::openRecentItem(QListWidgetItem *item) { |