diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2015-12-06 12:15:53 +0100 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2015-12-06 12:33:43 +0000 |
commit | 3cc9db57dfe32c45cf3521faff0bdaead87c5f2c (patch) | |
tree | 1c91141a1b6dc8173862bc827924043ffab4fba3 /ui/qt/main_status_bar.cpp | |
parent | d382c7d321642dae8f25e4257da644d87b645c65 (diff) | |
download | wireshark-3cc9db57dfe32c45cf3521faff0bdaead87c5f2c.tar.gz |
Qt: No path for created and renamed profiles
The path is not valid for created and renamed profiles because the
directory is not created yet. Use this label as a info label to
describe where the profile is created from or renamed from instead.
Use correct path for the Default profile.
Removed Bold from the current profile in status bar list.
Added tooltip for system provided profiles.
Change-Id: I61c8b1cc811dd9f9419ff9e373a8d00aa4e30446
Ping-Bug: 11704
Reviewed-on: https://code.wireshark.org/review/12447
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Diffstat (limited to 'ui/qt/main_status_bar.cpp')
-rw-r--r-- | ui/qt/main_status_bar.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ui/qt/main_status_bar.cpp b/ui/qt/main_status_bar.cpp index b3baa09710..71a27feed4 100644 --- a/ui/qt/main_status_bar.cpp +++ b/ui/qt/main_status_bar.cpp @@ -487,10 +487,7 @@ void MainStatusBar::showProfileMenu(const QPoint &global_pos, Qt::MouseButton bu } pa = profile_menu_.addAction(profile->name); if (strcmp(profile->name, profile_name) == 0) { - /* Bold current profile */ - QFont pa_font = pa->font(); - pa_font.setBold(true); - pa->setFont(pa_font); + /* Current profile */ pa->setCheckable(true); pa->setChecked(true); } |