aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/widgets
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2019-07-30 10:12:30 +0200
committerStig Bjørlykke <stig@bjorlykke.org>2019-07-30 10:11:10 +0000
commit5d0a2ccbb7119c667b078e8346e8e900f169e7df (patch)
tree09e7e1288afe8a07bae4ed74f6435508eb350b90 /ui/qt/widgets
parentd614865c8ca5db9477d7d68cb241e94da91f6c17 (diff)
Qt: Change from User/System to Personal/Global profile types
Change the Profile types from User/System to Personal/Global in UI to match the terminology used in About Wireshark -> Folders. This reverts commit 40af4aa93e469d37bd8e712228ecccb07407c3c6. This reverts commit f0cde7ca34a4975370e1b9ded2fee7df266343f6. This reverts commit c37cabe900b9b11e12c8626ca46adc080e465fdb. Change-Id: I9012db6385707754e26a2dadb57f6003f8112f9b Reviewed-on: https://code.wireshark.org/review/34134 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot Reviewed-by: Roland Knall <rknall@gmail.com> Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Diffstat (limited to 'ui/qt/widgets')
-rw-r--r--ui/qt/widgets/copy_from_profile_menu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/qt/widgets/copy_from_profile_menu.cpp b/ui/qt/widgets/copy_from_profile_menu.cpp
index 5bfebc72f6..c97002cdbb 100644
--- a/ui/qt/widgets/copy_from_profile_menu.cpp
+++ b/ui/qt/widgets/copy_from_profile_menu.cpp
@@ -52,14 +52,14 @@ CopyFromProfileMenu::CopyFromProfileMenu(QString filename, QWidget *parent) :
pa = new QAction(name, this);
if ( idx.data(ProfileModel::DATA_IS_DEFAULT).toBool() )
addAction(pa);
- else if ( idx.data(ProfileModel::DATA_IS_SYSTEM).toBool() )
+ else if ( idx.data(ProfileModel::DATA_IS_GLOBAL).toBool() )
global << pa;
else
user << pa;
pa->setFont(idx.data(Qt::FontRole).value<QFont>());
pa->setProperty("profile_name", name);
- pa->setProperty("profile_is_system", idx.data(ProfileModel::DATA_IS_SYSTEM));
+ pa->setProperty("profile_is_global", idx.data(ProfileModel::DATA_IS_GLOBAL));
pa->setProperty("filename", fi.absoluteFilePath());
pa->setData(fi.absoluteFilePath().toUtf8().constData());