From 152398bfd2bd973498e27e075a36ea891c00da8f Mon Sep 17 00:00:00 2001 From: Dmitry Degtyarev Date: Tue, 2 Feb 2021 16:25:45 +0400 Subject: [PATCH] turn off group policy tab in release not finished --- src/admc/properties_dialog.cpp | 4 ++++ translations/en.ts | 4 ++-- translations/ru.ts | 4 ++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/admc/properties_dialog.cpp b/src/admc/properties_dialog.cpp index ade922d4..72be9e5a 100644 --- a/src/admc/properties_dialog.cpp +++ b/src/admc/properties_dialog.cpp @@ -166,10 +166,14 @@ PropertiesDialog::PropertiesDialog(const QString &target_arg) if (object.is_class(CLASS_USER)) { add_tab(new MemberOfTab(), tr("Member of")); } + + #ifdef QT_DEBUG if (object.is_class(CLASS_OU)) { // TODO: not sure which object classes can have gplink, for now only know of OU's. add_tab(new GroupPolicyTab(), tr("Group policy")); } + #endif + if (object.is_class(CLASS_GP_CONTAINER)) { add_tab(new GpoLinksTab(), tr("Links to")); } diff --git a/translations/en.ts b/translations/en.ts index 69cc1313..ea4902be 100644 --- a/translations/en.ts +++ b/translations/en.ts @@ -1434,12 +1434,12 @@ - + Group policy - + Links to diff --git a/translations/ru.ts b/translations/ru.ts index 248ae1a5..d191c08e 100644 --- a/translations/ru.ts +++ b/translations/ru.ts @@ -1441,12 +1441,12 @@ Группы - + Group policy Групповая политика - + Links to Линки политик