From 78ce70e908ff4609587b6a0179ee0e8ae5e29421 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig=20Bj=C3=B8rlykke?= Date: Tue, 14 Feb 2017 22:36:52 +0100 Subject: Qt: Indicate profile created from system provided MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Tested-by: Petri Dish Buildbot Reviewed-by: Stig Bjørlykke --- ui/qt/profile_dialog.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ui/qt') 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 */ -- cgit v1.2.1