forked from qt-creator/qt-creator
ClangFormat: Remove unused variable
Change-Id: Iaaf0e1f34d76842b82827be4079ffd666755ab5b Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
@@ -133,7 +133,7 @@ void ClangFormatConfigWidget::initialize()
|
|||||||
m_ui->applyButton->show();
|
m_ui->applyButton->show();
|
||||||
|
|
||||||
QLayoutItem *lastItem = m_ui->verticalLayout->itemAt(m_ui->verticalLayout->count() - 1);
|
QLayoutItem *lastItem = m_ui->verticalLayout->itemAt(m_ui->verticalLayout->count() - 1);
|
||||||
if (QSpacerItem *spacer = lastItem->spacerItem())
|
if (lastItem->spacerItem())
|
||||||
m_ui->verticalLayout->removeItem(lastItem);
|
m_ui->verticalLayout->removeItem(lastItem);
|
||||||
|
|
||||||
if (m_project && !m_project->projectDirectory().appendPath(SETTINGS_FILE_NAME).exists()) {
|
if (m_project && !m_project->projectDirectory().appendPath(SETTINGS_FILE_NAME).exists()) {
|
||||||
|
Reference in New Issue
Block a user