From 52e941f0fc1e8b1efe461961a968cc8b229ca429 Mon Sep 17 00:00:00 2001 From: scorpio810 Date: Sat, 28 Jul 2018 12:09:00 +0000 Subject: [PATCH] Minor : disable dialog buttons for define the file system path of the common and custom elements on macOS git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5460 bfdf4180-ca20-0410-9c96-a3a8aa849046 --- sources/ui/configpage/generalconfigurationpage.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sources/ui/configpage/generalconfigurationpage.cpp b/sources/ui/configpage/generalconfigurationpage.cpp index b7e895834..ec4ff4ee7 100644 --- a/sources/ui/configpage/generalconfigurationpage.cpp +++ b/sources/ui/configpage/generalconfigurationpage.cpp @@ -80,6 +80,12 @@ GeneralConfigurationPage::GeneralConfigurationPage(QWidget *parent) : } fillLang(); + +#ifdef Q_OS_MACOS + ui->m_common_elmt_path_cb ->setDisabled(true); + ui->m_custom_elmt_path_cb ->setDisabled(true); +#endif + } GeneralConfigurationPage::~GeneralConfigurationPage()