summaryrefslogtreecommitdiff
path: root/ui/qt
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2017-02-14 22:36:52 +0100
committerStig Bjørlykke <stig@bjorlykke.org>2017-02-15 07:05:41 +0000
commit78ce70e908ff4609587b6a0179ee0e8ae5e29421 (patch)
treef7ad0832a9897fd19e0c841a4bbc3ed668341d38 /ui/qt
parent6f18fed9abfecc65044219b0a11622c4115c5ef2 (diff)
downloadwireshark-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.cpp3
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 */