diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2017-02-14 22:36:52 +0100 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2017-02-15 07:05:41 +0000 |
commit | 78ce70e908ff4609587b6a0179ee0e8ae5e29421 (patch) | |
tree | f7ad0832a9897fd19e0c841a4bbc3ed668341d38 /ui/qt | |
parent | 6f18fed9abfecc65044219b0a11622c4115c5ef2 (diff) | |
download | wireshark-78ce70e908ff4609587b6a0179ee0e8ae5e29421.tar.gz |
Qt: Indicate profile created from system provided
Indicate when a profile is created from a system provided profile.
Change-Id: Iaabe5a2dbf17c7baa14e888dfab5f2aeadaedb67
Reviewed-on: https://code.wireshark.org/review/20107
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Diffstat (limited to 'ui/qt')
-rw-r--r-- | ui/qt/profile_dialog.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/qt/profile_dialog.cpp b/ui/qt/profile_dialog.cpp index 2bd75f90db..443c127ae8 100644 --- a/ui/qt/profile_dialog.cpp +++ b/ui/qt/profile_dialog.cpp @@ -172,6 +172,9 @@ void ProfileDialog::updateWidgets() case PROF_STAT_COPY: if (current_profile->reference) { profile_info = tr("Created from %1").arg(current_profile->reference); + if (current_profile->from_global) { + profile_info.append(QString(" %1").arg(tr("(system provided)"))); + } break; } /* Fall Through */ |