ClangFormat: Fix showing the warning text

The call to show() was lost at some point, let's restore it.

Change-Id: I83f551d26e6c4f658426b1196ff3a0935aea7047
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
Ivan Donchevskii
2019-03-15 14:31:43 +01:00
parent 3726218b5e
commit c1d03e610c

View File

@@ -145,6 +145,7 @@ void ClangFormatConfigWidget::initialize()
if (!currentProject || !projectConfigExists()) {
m_ui->projectHasClangFormat->hide();
} else {
m_ui->projectHasClangFormat->show();
m_ui->projectHasClangFormat->setText(
tr("Current project has its own overridden .clang-format file "
"and can be configured in Projects > Code Style > C++."));